Loading lesson…
Level 1 · Apprentice0 XP
Price-time priority, a single-threaded core, event sourcing and low latency.
Step 1 / 6
ProblemAn exchange must match thousands of orders per second, fairly and deterministically, and recover after a crash to exactly the same state.
← → step
Before this: Reconciliation: proving the numbers match
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Complete the matching engine with bids, sell orders, cancels and an event journal, then prove determinism: replay the journal into a new engine and check the book is identical.