tigerbeetle /

TigerBeetle

Live map
Snapshotmain · 97c7a8e

Batched client operations pass through Viewstamped Replication into a deterministic accounting state machine and durable grid.

Click a building or route
Choose a path

Batch a transfer, replicate it, enforce invariants, and persist ledger state.

System map7 components · 8 connections
130%
TigerBeetle: financial transfers become replicated state architectureStart with a client packet, follow consensus into the state machine, then trace durable writes and replies.operation, batch, and …client ID, request num…prepare, commit, and v…ordered operation batchaccounts, transfers, a…immutable blocks and s…aligned read, write, o…ClientbindingsVSR clientReplicaAccountingstate machinePlatform I/OLSM gridStorage
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal

Terms, in plain English

VSRViewstamped Replication, the consensus protocol that orders operations across replicas.

How to study this repo

  1. 1
    Follow request identity

    Track client and request numbers through retries and replica deduplication.

  2. 2
    Check an invariant

    Find where transfer flags and account balances are validated.

  3. 3
    Reach durable state

    Trace a committed operation from the state machine into grid blocks.