Skip to content

Architecture

These pages tell how Enroute works inside: how it stores, replicates, and serves repositories, and how it is tested. You do not need them to run Enroute or to build on it.

Read the pages in the order below. Each one describes the system as built.

PageCovers
OverviewGoals, the three tiers of state, protocol, and components
ConsensusOne Raft log per repository, the log store, the state store, and recovery
Ledger and computeThe two roles, subscriptions, membership, checkpoints, and ownership
StorageLayers, object ids, the storage service, the buffer pool, and tiered reads
Write pathPush, durability without waiting for the object store, and hooked pushes
Read pathFetch planning and streaming, node-private views, and the node catalog
ServingWhat the compute exposes: smart HTTP, hooks, and the API
LifecycleCreate, delete, incarnations, and reclaiming files
MaintenanceCompaction, the layer sweep, and garbage collection
Jepsen testsThe consistency that Git clients see under faults, and how the suite checks it

Generated from docs/internals/README.md at bc0dc6e