A working Raft core, not a finished database. Here's what runs today.
Raft, from the paper
Leader election and log replication implemented against the Raft paper, with term checks, log up-to-dateness, conflict truncation, and idempotent re-appends.
Key-value state machine
An in-memory store with set, delete, and get. Reads route through the log just like writes, so they linearize against them for free.
Write-ahead log
Commands serialize to a compact binary format with per-file headers and per-entry framing (length, CRC32, payload). Replay rebuilds state from the log.
Pluggable transport
A type-erased transport interface in the style of std.mem.Allocator. The test suite drives the whole protocol over an in-memory transport.