Platform

Aria

Jane Street's internal platform for systems built on state machine replication: all events pass through a single sequencer and go out to participants in the same order. The successor to a system called Concord.

Concord was built by the Client-Facing Tech team for Jane Street's client business, where reliability, scale and speed all matter. The principle is simple: a sequencer receives messages, numbers them and sends them to everyone in one canonical order, and each application is a state machine that processes the stream one message at a time; since everyone sees the same thing in the same order, the state of any copy can be rebuilt just by replaying the stream. Aria is a generalized version of Concord designed for the whole firm rather than one team: as its creators describe it, it's like your own instance of Concord in its own rack, run by the Aria team. Jane Street's blog describes it as a shared low-latency message bus with strict ordering and reliability guarantees: clients subscribe to topics and receive only what they need, but the global order is preserved and any run can be replayed. Doug Patti covered Concord and Aria in depth in the 2022 Signals and Threads episode "State Machine Replication, and Why You Should Care." The weak spot of the design is a single point of failure, since all data passes through one sequencer core, but Jane Street considers the risk acceptable and is moving other systems onto Aria, for example a metadata store in place of CockroachDB.

In the episodes

2