Project · 2026
Matching Engine
A single-threaded limit order matching engine in Go with price-time priority, IOC/FOK orders, and sequenced market data over TCP.
Highlights
- Write-ahead log with group commit and deterministic replay; a 50-run SIGKILL crash test loses no acknowledged order.
- 32k orders/s with per-order fsync, 54k at 1 ms group commit; differentially tested against a reference order book.
Stack
- Go
- TCP
- WAL
- Prometheus