Docs / Concepts / Foundations
Real

Architecture

The kernel, its components, and the order things happen in.

Kernel

One engine owns the clock, cache, message bus, risk checks, the venue and the strategies. Strategy commands and order events go through one first-in, first-out work queue, so a handler that reacts to an event can never reorder events already queued.

Per market data item

Why single-threaded

One ordered event loop is what makes a run repeatable. Speed is meant to come from compiled code, not from shared-state concurrency.

Components