Chronon A deterministic, crash-safe distributed state machine with exactly-once side effects. Chronon is a Rust implementation of a replicated log and consensus engine designed for systems that cannot afford to lose data or execute side effects twice. It combines Viewstamped Replication (VSR) with a durable outbox pattern to guarantee exactly-once semantics even across crashes and leader failovers. Core Guarantees Property Guarantee Durability All committed entries survive any single-node failure Consistency Linearizable reads and writes via quorum consensus Exactly-Once Side effects execute exactly once, even after crashes Determinism Replicas converge to identical state from identical logs Architecture βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Chronon Node β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β βββββββββββββββ βββββββββββββββ βββββββββββββββββββββββββββ β β β VSR Layer ββββ>β Kernel ββββ>β Application (Bank) β β β β (Consensus)β β (Executor) β β ChrApplication trait β β β βββββββββββββββ βββββββββββββββ βββββββββββββββββββββββββββ β β β β β β β βΌ βΌ βΌ β β βββββββββββββββ βββββββββββββββ βββββββββββββββββββββββββββ β β β Log Writer β β Snapshots β β Durable Outbox β β β β (O_DSYNC) β β (Compaction)β β (Side Effects) β β β βββββββββββββββ βββββββββββββββ βββββββββββββββββββββββββββ β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Control Plane vs Data Plane Chronon architecturally divorces the control plane (heartbeats, elections, view changes) from the data plane (log writes, durability). This ensures: Heartbeats are never blocked by disk I/O Elections don't trigger during transient disk stalls Tail latency on the data path doesn't cascade to cluster availability Key Components Storage Engine ( engine/ ) LogWriter : Append-only log with O_DSYNC for synchronous durability : Append-only log with for synchronous durability LogReader : Lock-free concurrent reads with visibility...
First seen: 2026-01-11 22:59
Last seen: 2026-01-11 22:59