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

Stock Exchange Core (1/4): Anatomy of a Microsecond Order Book

Designing a high-frequency trading Order Book. We formalize memory layout, trace state execution, and achieve strict O(1) cancellations.

February 18, 2026 · 7 min · Hiep

Welcome to My Blog — System Design & AI Infrastructure

A personal space to explore system design, AI infrastructure, and deep reflections on the world of technology.

August 29, 2025 · 1 min · Hiep