Skip to content
0:00 / 0:00

#janestreet#ocaml#crossingengine

How to Build an Exchange

Jane Street

102K subscribers • 18 videos on Hallway

YouTube
  • Recommended by 2 people: 2 on Lobsters.
  • A classic. People kept recommending it from 2017 to 2024.

Advanced. Deep dive for people who know the field.

322K views9 years ago2 recommendations

Distributed systemsSystems programmingSoftware architectureConcurrency and parallelismPerformance and optimization

An exploration of the technical challenges in building a high-throughput, low-latency replicated crossing engine at Jane Street.

Electronic exchanges play an important role in the world financial system, acting as focal points where actors from across the world meet to trade with each other. But building an exchange is a difficult technical challenge, requiring high transaction rates, low, deterministic response times, fairness, and reliability. This talk looks at the question of how to design an exchange through the lens of JX, a crossing engine we built at Jane Street in the last two years. Performance plays an interesting role in this design, in that, although the end-to-end latency of the system is not important in and of itself, the ability of individual components of JX to handle messages rates in the 500k/sec range with latencies in the single-digit microseconds helped us build a replicated system that is both simple and robust.

Why it's here

2 people recommend this

What people say. Recommended as an excellent case study on state machine replication and low-latency systems architecture.

Moments people linked to

danthegoodman1on Lobsters • Recommends

How to build an exchange

yminskyon Lobsters • Recommends

State machine replication, and the architecture of the modern exchange
2View on Lobsters