Distributed Systemsfrom Scratch
HomeTracksProjects

Capstone Projects

Build production-grade distributed systems from scratch. Each project is a deep dive into a real-world system with multiple tracks, subtracks, and tasks.

advanced

Mini-Dynamo

Implement Amazon Dynamo from the 2007 paper. Build a fully functional distributed key-value store featuring consistent hashing, quorum replication, sloppy quorums, hinted handoff, vector clock conflict detection, Merkle tree anti-entropy, and read repair.

storagereplicationconsistent-hashingquorum
3 tracks|11 tasks|20h
advanced

Mini-Kafka

Build a production-grade message broker from scratch. Implement Kafka's append-only partition log, Raft-based leader election, ISR tracking and high-watermark advancement, idempotent and transactional producers, and consumer groups with rebalancing.

messaginglogreplicationconsensus
3 tracks|6 tasks|18h
expert

Mini-Spanner

Build a globally consistent distributed database from scratch. Implement Paxos consensus, TrueTime external consistency, two-phase commit across shards, MVCC snapshot reads, and a SQL query router.

consensuspaxostransactionsmvcc
4 tracks|7 tasks|22h
AboutChangelog

Building Distributed Systems from Scratch