Stock Exchange — Low-Latency Critical Path

Stock Exchange — Low-Latency Critical Path An architecture diagram generated by Archify. Brokers · FIX gateway · Architecture component Brokers FIX gateway Order gateway · auth, validation · Architecture component Order gateway auth, validation Risk check · limits, funds · Architecture component Risk check limits, funds Sequencer · total order, journal · Architecture component Sequencer total order, journal Matching engine · order book per symbol · Architecture component Matching engine order book per symbol Event journal · replayable · Architecture component Event journal replayable Market data · trades, book depth · Architecture component Market data trades, book depth Reporter · fills, clearing · Architecture component Reporter fills, clearing orders validate accept sequenced append publish fills Legend Backend Database Security Message bus External

Critical path

  • • Gateway → risk → sequencer → matching
  • • In memory, single-threaded per symbol

Determinism

  • • Every input sequenced and journaled
  • • Replay rebuilds the order book

Outputs

  • • Market data multicast to subscribers
  • • Executions to brokers and clearing