BeeDB
A distributed key-value store built to understand consensus by implementing it: leader election, log replication, commit rules, snapshots, log compaction, and a CRC-framed write-ahead log that has to survive the machine dying mid-write. It speaks the memcached text protocol, so any existing memcached client can talk to it.
The interesting part is not the API. It is being able to say exactly what the cluster does when a write arrives, or when the leader disappears halfway through one, and having a test that proves it.
Recorded from the BeeDB demo page against the real three-node cluster, during one kill round. The demo calls the leader the queen and the followers workers. Step through it with the arrows or the ← → keys.