Build Your Own Key-Value Store
Build a production-grade key-value store from scratch. You'll start with an in-memory hash map, add ordered iteration and TTL, persist with write-ahead logging, build sorted SSTables, implement the LSM tree read path with compaction and Bloom filters, and add ACID transactions with MVCC snapshot isolation. By the end you'll deeply understand LevelDB, RocksDB, Cassandra, etcd, and FoundationDB.
advancedFree4 hours15 lessons
Start learningor sign up to track progress
Curriculum
Loading reference solution…