Global Flash Sale Engine (2/4): Admission Control & The Virtual Waiting Room

Auto-scaling alone cannot save you from TCP connection exhaustion. We architect a Virtual Waiting Room using Async Polling with Jitter, Edge Bot Defense, and Cryptographic Tokens to decouple traffic flow from inventory capacity.

May 9, 2026 · 8 min · Hiep

Stock Exchange Core (4/4): Trade-offs, Scaling Limits & Alternative Architectures

When does the LMAX Disruptor fail? We explore the CAP theorem, quantify the brutal costs of Kernel Bypass, and provide a strict decision framework for system design.

March 29, 2026 · 5 min · Hiep

Stock Exchange Core (3/4): High Availability & Deterministic Fault Tolerance

How to survive hardware crashes without a database. We explore Event Sourcing, the Sequencer pattern, and UDP Multicast to achieve 99.999% uptime in a single-threaded architecture.

February 22, 2026 · 7 min · Hiep

Stock Exchange Core (2/4): The Single-Threaded Matching Engine

Why multi-threading kills High-Frequency Trading systems. We explore lock-free concurrency, Mechanical Sympathy, and the LMAX Disruptor pattern to achieve sub-microsecond matching.

February 20, 2026 · 7 min · Hiep