Production Engineering Autopsy of a Hybrid Architecture · Part 4

Autopsy of a Hybrid Architecture (4/4): The Backpressure Betrayal & The Blueprint for Safe Boundaries

Why streaming clients can still retain the entire response when an MVC adapter materializes a List—and how to bound payload size, wait deadlines, and concurrency separately.

June 5, 2026 · 10 min · Tuan Hiep TRAN
Production Engineering Autopsy of a Hybrid Architecture · Part 3

Autopsy of a Hybrid Architecture (3/4): The Context Propagation Collapse — When Security Silently Disappears

A user authenticates successfully. The request clears the gateway. Yet downstream services operate as anonymous. Dissecting how ThreadLocal identity dissolves across reactive scheduler hops—and why the system returns 200 OK the entire time.

May 21, 2026 · 14 min · Tuan Hiep TRAN
Production Engineering Autopsy of a Hybrid Architecture · Part 2

Autopsy of a Hybrid Architecture (2/4): The Temporal Rift in Reactive Cores

Why do retries fail with 401 Unauthorized even when your logic seems perfect? Dissecting the dissociation between Assembly Time and Subscription Time.

May 2, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering Autopsy of a Hybrid Architecture · Part 1

Autopsy of a Hybrid Architecture (1/4): The Illusion of Non-Blocking & Thread Starvation

When 5% CPU utilization meets 503 Service Unavailable. Dissecting the cost of waiting and the quantitative failure of hybrid execution models.

May 1, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering Autopsy of Distributed Systems · Part 4

Autopsy of Distributed Systems (4/4): The Integrity Fallacy & The DLQ Mandate

A queue with zero lag can still be a crime scene. We conclude the series by dissecting the ‘Catch-and-Commit’ anti-pattern and establishing why a Dead Letter Queue is an architectural mandate, not a luxury.

April 20, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering Autopsy of Distributed Systems · Part 3

Autopsy of Distributed Systems (3/4): The Protocol Trap & The Lease Paradox

Distributed brokers use leases to detect life. We dissect how the ‘MAX_VALUE’ configuration trap disables a system’s autonomic immune response, turning transient failures into permanent paralysis.

April 19, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering Autopsy of Distributed Systems · Part 2

Autopsy of Distributed Systems (2/4): The Concurrency Collapse & Reactive Starvation

Asynchronous frameworks do not eliminate latency; they merely shift the bottleneck. We dissect how a single blocking I/O call inside a reactive pipeline can trigger a catastrophic thread starvation event.

April 18, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering Autopsy of Distributed Systems · Part 1

Autopsy of Distributed Systems (1/4): The Observability Mirage & Zombie Consumers

When a dashboard reports 100% health but throughput is zero, the system isn’t dead—it’s paralyzed. We dissect thread starvation, the illusion of structural health checks, and the math behind a system collapse.

April 17, 2026 · 6 min · Tuan Hiep TRAN
Production Engineering From Contention to Throughput · Part 5

From Contention to Throughput (5/5): The Grand Finale — Database / Queue vs Kafka vs Workflow Engines

The ultimate decision framework. We resolve the holy war between Database / Queue primitives, Event Streams, and Workflow Engines by defining state lifespan and coordination boundaries.

April 13, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering From Contention to Throughput · Part 4

From Contention to Throughput (4/5): Scaling Beyond a Single Database — Partitioning & The Connection Collapse

When a single PostgreSQL instance hits its physical limits, we must shard. We explore the Connection Collapse trap, multiplexing proxies, and intelligent shard routing.

April 11, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering From Contention to Throughput · Part 3

From Contention to Throughput (3/5): Designing for Failure — Lease Systems & Distributed Recovery

When SKIP LOCKED is not enough. We explore the State Model, the Law of Temporal Ownership, and how Fencing Tokens prevent distributed split-brain.

April 10, 2026 · 6 min · Tuan Hiep TRAN
Production Engineering From Contention to Throughput · Part 2

From Contention to Throughput (2/5): Turning PostgreSQL into a Lock-Free Queue — The SKIP LOCKED Pattern

How to resolve massive database lock contention without deploying Kafka. We explore Quantitative Capacity, the Law of Non-Blocking Acquisition, and the SKIP LOCKED paradigm.

April 2, 2026 · 8 min · Tuan Hiep TRAN
Production Engineering From Contention to Throughput · Part 1

From Contention to Throughput (1/5): Move the Work, Not the Latency — The Pre-allocation Paradigm

Why Compute-on-Demand fails at scale. We explore the Law of Decoupled Computation, the Decision Framework, and how to eliminate latency from the critical path.

April 1, 2026 · 7 min · Tuan Hiep TRAN
Production Engineering Mastering Enterprise Complexity · Part 5

Mastering Enterprise Complexity (5/5): Designing Deterministic Systems

The grand synthesis. We combine Deterministic Routing, Orthogonality, Global Governance, and Snapshot-Oriented Immutability into a single Deterministic Orchestration Engine.

March 31, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering Mastering Enterprise Complexity · Part 4

Mastering Enterprise Complexity (4/5): Designing Deterministic Pipelines with Zero-Cost Rollbacks

How to survive pipeline failures without data corruption. We explore Snapshot-Oriented Execution, the limits of Database Transactions, and O(1) In-Memory Rollbacks.

March 30, 2026 · 6 min · Tuan Hiep TRAN
Production Engineering Mastering Enterprise Complexity · Part 3

Mastering Enterprise Complexity (3/5): Global Governance and the Fallacy of Distributed Ordering

Why relying on @Order in a distributed codebase leads to ‘Global Blindness’. We explore how to regain control of a massive pipeline through Centralized Static Registries.

March 29, 2026 · 6 min · Tuan Hiep TRAN
Production Engineering Mastering Enterprise Complexity · Part 2

Mastering Enterprise Complexity (2/5): Orthogonal Architecture & The Extension Layer

How to prevent your core domain from rotting with side-effects. We explore Orthogonal Architecture, Blast Radius containment, and the principle of Core Blindness.

March 28, 2026 · 6 min · Tuan Hiep TRAN
Production Engineering Mastering Enterprise Complexity · Part 1

Mastering Enterprise Complexity (1/5): Routing as a First-Class Problem

When systems scale, they don’t fail because of incorrect logic; they fail due to a loss of control over execution order. Here is how to build a Deterministic Strategy Pipeline.

March 27, 2026 · 5 min · Tuan Hiep TRAN
Production Engineering

Welcome to My Blog — Engineering Beyond Code

Exploring the boundary where code meets physical limits, state becomes truth, and complexity demands governance.

March 26, 2026 · 1 min · Tuan Hiep TRAN