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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep

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 · Hiep