Module 6 · Interview Prep: A Stock Exchange Matching Engine Lesson 42 of 54

One Thread, Replay and the Standby

Why one thread per stock, the rules of determinism, snapshots and a standby engine.

2:21 clip1:35:57–1:38:18 in the full courseWatch on YouTube

Transcript

28 sentences · select one to jump there

Check your understanding

Which of these would break the engine's determinism?

Choose one answer

Lesson notes

The rule

Same inputs, same order, same code: same book, same trades