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

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