Engineering in Practice

Engineering work. Decisions in context.

Explore selected examples of the problems, constraints and technical decisions behind engineering work. Each case should explain what changed, how it was approached and what the available evidence supports.

Portfolio Scope:Build & ModerniseDeploy & OperateSecure & Connect
Engineering Framework: Decisions in Context
Evidence-Led Scope
01 · CONSTRAINTSLegacy SystemsMonoliths · Over-allocationsOperational LimitsTail latencies · Manual APSecurity & AccessSiloed credentials · Scope02 · ARCHITECTURE & CHOICESBuild & ModerniseVirtual threads · ZGC · OCRDeploy & OperateKarpenter · OpenTofu · GravitonSecure & ConnectOIDC Federation · PBAC03 · DELIVERED SCOPETested SoftwareSub-350ms P99 · wrk harnessInfra as Code65% node packing densityAudited HandoverRunbooks & OIDC telemetryDISCLOSURE BOUNDARY:Client details anonymised. Technical demonstrations explicitly distinguished from production audits.
Execution Pillars: Software · Cloud · Identity
Reviewable Technical Increments
How to Read the Work

The decisions behind the outcome matter.

Each case examines the problem, the constraints, the implementation choices and the available evidence. The depth of published detail depends on the nature of the engagement and what can be disclosed.

Step 01Context & Constraints

The challenge

What needed to change. We isolate the operational bottleneck, legacy software constraints, and business risks that made the problem non-trivial to resolve.

Step 02Trade-off Analysis

The engineering decision

Why the approach was chosen. We explain architectural options considered, trade-offs between speed and durability, and why specific technologies were selected.

Step 03Evidence & Artifacts

The outcome

What was measured, demonstrated or delivered. We separate verified empirical deltas from controlled benchmarks, providing explicit measurement conditions and scope.

Featured Case Study

Deploy & Operate · Cloud Infrastructure

CASE 01 of 04
CASE 01 · Cloud FinOps & InfrastructurePillar: Deploy & Operate
Reference design · Evaluated Period

Cloud Infrastructure Right-Sizing and Automated Node Compaction

Addressing compute over-allocation and unreserved EC2 instances in Kubernetes workloads using dynamic node autoscaling and declarative cost attribution.

The Challenge

Static node groups maintained an aggregate CPU utilization below 25%, causing compute overhead to escalate without operational benefits. Production latency requirements prohibited abrupt capacity drops; workloads required automated fallback between Spot and On-Demand capacity without dropping active client connections.

Engineering Decisions & Approach

Architected dynamic node provisioning with Karpenter to bin-pack pods across mixed instance families, while establishing declarative OpenTofu cost-attribution policies.

  • 01.Replaced static worker groups with Karpenter dynamic node autoscaling orchestrating Graviton (ARM64) and x86 spot/on-demand fallbacks.
  • 02.Enforced declarative OpenTofu infrastructure-as-code modules establishing mandatory cost-allocation tags across namespaces and storage volumes.
  • 03.Migrated underutilised relational database clusters to automated auto-scaling serverless capacity with aggressive idle scaling.
Delivered Scope
Karpenter dynamic provisioner manifests and disruption budget configurations
OpenTofu infrastructure modules for cluster provisioning and cost-attribution tagging
Cluster allocation and compute density observability dashboards in Prometheus & Grafana
Operational runbooks for graceful pod draining and spot interruption handling
FINOPS-02: Cloud Margin Reclamation Topology
Topology: Dynamic Node Compaction
Unoptimized Topology42% Idle Leak
IDLE WASTEACTIVEIDLE WASTEACTIVEIDLE WASTEACTIVEIDLE WASTEACTIVE
Quantzent Bin-Packing96.8% Utilization
NODE_ALPHA: 97.4%• Workloads Compacted• Zero Stranded RAMNODE_BETA: 96.2%• Autoscaling Locked• Spot/RI Arbitrage
ALGORITHM: DETERMINISTIC MULTI-DIMENSIONAL BIN PACKINGEKS KARPENTER DYNAMIC REBALANCING
Measured Outcome

Cluster compute density improved from ~23% to 68% average allocation across evaluated node groups, reducing compute run-rate by approximately 38% during the trial evaluation period.

68% Compute Density
Baseline State (Evaluated Fleet)Unoptimized
Cluster Compute Utilization23% avg
Unreserved On-Demand Footprint78%
Node Packing EfficiencyFragmented
Evaluated Outcome (Compacted Nodes)Measured Delta
Cluster Compute Utilization68% avg
Spot & Savings Plan Coverage82%
Compute Run-Rate Delta~38% reduction

Measurement Context: Measured across evaluated EKS node groups during right-sizing evaluation; enterprise financial realization varies with spot instance availability, cluster traffic patterns, and annual savings commitments.

Technologies:AWS EKSKarpenterOpenTofu / TerraformAWS GravitonPrometheus
Explore Cloud & Platform Services →
Additional Engineering Cases

Systems, automation and access engineering.

Each study below demonstrates how Quantzent isolates operational constraints, evaluates technical trade-offs, and validates deliverables.

CASE 02 · Systems Engineering & RuntimesPillar: Build & Modernise
Internal benchmark · Synthetic Load

High-Throughput JVM Service Modernisation and Latency Tuning

Evaluating virtual thread concurrency and Generational ZGC to reduce tail latency and eliminate stop-the-world pauses in high-concurrency Java services.

The Challenge

Thread-per-request blocking I/O exhausted OS worker pools under sudden load spikes, while traditional Stop-The-World garbage collection triggered multi-hundred-millisecond latency spikes. Core business domain logic could not be rewritten entirely; modernization required preserving Spring framework integrations while modernizing the concurrency and garbage collection model.

Engineering Approach

Upgraded runtime targets to Kotlin on OpenJDK 21, adopting Project Loom Virtual Threads for lightweight request dispatch and tuning Generational ZGC to isolate pause times from heap scale.

  • •Modernised service controllers to Kotlin with Spring Boot 3 on OpenJDK 21.
  • •Configured Project Loom Virtual Threads to execute blocking socket and database I/O without exhausting OS carrier threads.
  • •Tuned Generational ZGC (-XX:+UseZGC -XX:+ZGenerational) with async-profiler diagnostics to eliminate allocation spikes.
Delivered Scope & Artifacts
Kotlin and Spring Boot 3 reference service migration blueprint
Virtual thread pool configuration and thread-safety audit report
Generational ZGC tuning flags and async-profiler memory diagnostic profiles
Automated load-testing harness (wrk/k6) executing synthetic high-concurrency benchmarks
Outcome & Evidence: Under controlled synthetic load testing at 3,000+ RPS, tail latency dropped from 1,420ms to 335ms, and garbage-collection pause times remained under 2ms with Generational ZGC.Sub-2ms GC Pauses
Baseline Comparison State
P99 Transaction Latency1,420 ms
Stop-The-World GC Pauses680 ms avg
Concurrency ModelBlocking OS Threads
Demonstrated / Delivered State
P99 Transaction Latency335 ms
Stop-The-World GC Pauses< 2 ms (ZGC)
Concurrency ModelLoom Virtual Threads

Measurement Context: Measured in synthetic benchmark harness under controlled test workloads. Real-world application gains depend on database I/O latency, connection pooling, and business heap allocation intensity.

Stack:KotlinOpenJDK 21Generational ZGCProject LoomSpring Boot 3async-profiler
Explore Software Engineering →
CASE 03 · Applied AI & Workflow AutomationPillar: Build & Modernise
Reference design

Automated Multi-Format Document Extraction and ERP Reconciliation

Streamlining supplier invoice verification and three-way matching against purchase orders through structured document extraction and deterministic exception routing.

The Challenge

Manual invoice transcription resulted in multi-day processing queues, tax credit mismatches (GSTIN/HSN discrepancies), and delayed reconciliation against enterprise ERP ledgers. Accounting rules demand strict verification accuracy; purely generative or non-deterministic AI outputs could not be trusted to commit directly to accounting ledgers without verification guards.

Engineering Approach

Engineered a deterministic extraction and validation pipeline combining computer vision document layout parsing with programmatic 3-way matching and human-in-the-loop exception routing.

  • •Engineered a multi-stage ingestion pipeline performing layout segmentation, OCR, and line-item extraction.
  • •Built deterministic rule-based verification validating extracted GSTINs, tax totals, and line items against ERP Purchase Orders and Goods Receipt Notes.
  • •Implemented a human-in-the-loop exception routing workflow: documents with 100% rule validation commit automatically, while ambiguous scans (~10-15%) route to human reviewers.
Delivered Scope & Artifacts
Document ingestion and layout extraction microservice architecture
Deterministic 3-way matching engine with strict accounting validation schemas
ERP integration connector for verified ledger commits
Reviewer web interface for flagged exception inspection and audit trail capture
Outcome & Evidence: Replaced multi-day manual intake queues with automated document parsing executing in under 15 minutes per batch, routing only edge cases for manual review.< 15 Min Batch Intake
Baseline Comparison State
Batch Ingestion QueueMulti-Day Backlog
Verification WorkflowManual 100% Entry
Discrepancy Catch RateManual Cross-Check
Demonstrated / Delivered State
Batch Ingestion Queue< 15 Min Ingestion
Verification WorkflowException-Only (10-15%)
Discrepancy Catch RateDeterministic PO Match

Measurement Context: Evaluated across multi-vendor invoice datasets in controlled testing; exception routing ensures mandatory human verification whenever document confidence or PO matching falls below agreed thresholds.

Stack:PythonFastAPILayout OCRPostgreSQLERP API Integration
Explore Workflow Automation →
CASE 04 · Identity Engineering & Access GovernancePillar: Secure & Connect
Reference design

Centralised Identity Federation and Policy-Based Access Control

Consolidating fragmented application logins into centralized OpenID Connect identity federation with fine-grained role-based permissions.

The Challenge

Siloed user directories created operational overhead, elevated onboarding/offboarding risk when team members change roles, and lacked central auditability for privileged actions. Authentication required seamless Single Sign-On (SSO) integration with existing enterprise directories (Microsoft Entra ID / Google Workspace) without breaking legacy internal services.

Engineering Approach

Architected an OpenID Connect (OIDC) identity federation bridge paired with a declarative policy-based authorization middleware enforcing least-privilege access across internal APIs.

  • •Consolidated fragmented authentication into an enterprise OIDC identity provider (Microsoft Entra ID / Keycloak) with hardware MFA enforcement.
  • •Designed a centralized permissions matrix decoupling authorization checks from application business logic.
  • •Enforced ephemeral, cryptographically signed session tokens with sub-second global session revocation capabilities.
Delivered Scope & Artifacts
Enterprise OIDC federation blueprint and directory synchronization configuration
Declarative authorization middleware for REST and GraphQL API gateways
Tamper-evident access logging architecture recording privileged operations
Runbooks for automated employee onboarding, role transitions, and deprovisioning
Outcome & Evidence: Replaced individual per-application credential databases with unified enterprise single sign-on, reducing deprovisioning to instantaneous central revocation and establishing verifiable access auditability.Unified Enterprise SSO
Baseline Comparison State
Credential ManagementFragmented Per-App Stores
Offboarding RevocationManual Checklist / Days
Access LoggingInconsistent App Logs
Demonstrated / Delivered State
Credential ManagementCentralized Enterprise OIDC
Offboarding RevocationInstantaneous Revocation
Access LoggingCryptographic Audit Trail

Measurement Context: Architecture specification and reference implementation; production compliance certifications (SOC 2, ISO 27001) require independent accredited third-party auditing.

Stack:Microsoft Entra IDOpenID Connect / OAuth 2.0KeycloakTypeScriptJWT / JWS
Explore Identity Engineering →
Engagement Discipline

Clear scope. Sound engineering. Practical outcomes.

We structure client work around agreed deliverables, measurable success criteria, and transparent handover.

01 · Understand First

Discovery & Scoping

Identify the actual business problem, dependencies, constraints, and non-functional requirements before recommending technologies.

02 · Architect for Trade-offs

Explicit Architecture

Document architecture decision records (ADRs) evaluating performance, cost, security, and maintainability trade-offs.

03 · Reviewable Increments

Disciplined Delivery

Ship functional code and infrastructure in small, reviewable increments accompanied by test suites and documentation.

04 · Verifiable Handover

Knowledge Transfer

Verify agreed acceptance criteria, deliver runbooks, and conduct structured handover so internal teams can operate the system with confidence.

Engineering Collaboration

Start with the problem. Build with precision.

Tell us what your business needs to improve, connect or build. We can begin by understanding the problem and defining a practical engineering path.