Designing a Deterministic Matching Engine in Rust
A matching engine is the single most performance- and correctness-critical component of any exchange. Here is how we approach determinism, sequencing, and crash recovery so an engine can be rebuilt byte-for-byte from its log.