a small, readable raft consensus implementation - leader election + log replication with a deterministic simulator
run thousands of independent raft consensus groups on one set of nodes - a shared scheduler instead of a thread per group, and cross-group rpc batching instead of an rpc per group