No. 12 · Distributed infrastructure
Design a distributed key-value store
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
No free end-to-end interview walkthrough we would recommend for a durable distributed KV store; the papers and docs above cover the parts and our worked approach ties them together.
- Dynamo: Amazon's Highly Available Key-value Store (SOSP 2007)
The canonical source for a leaderless KV store: consistent hashing with virtual nodes, quorum reads and writes, vector clocks, hinted handoff and Merkle-tree anti-entropy. Dense, but sections 4 and 6 map directly onto the interview.
Link checked 2026-12-06
- Cassandra architecture: Dynamo
Readable modern docs that restate Dynamo ideas as Cassandra implements them: token rings, replication strategies, tunable consistency levels and gossip. Good bridge before or after the paper.
Link checked 2026-12-06
- RocksDB Overview
Covers the single-node storage engine most designs hand-wave: memtable, write-ahead log, SSTables and compaction. Nothing about distribution or replication.
Link checked 2026-12-06
- Bigtable: A Distributed Storage System for Structured Data (OSDI 2006)
The leader-based alternative to Dynamo: tablets, a master assigning ranges, and SSTable-backed storage on a shared file system. Useful contrast when the interviewer wants strong consistency per key.
Link checked 2026-12-06
- Design a Key-Value Store - System Design Mock Interview (with Microsoft Software Engineer)
A recorded mock where the candidate treats the prompt as a memcached-style cache, covering consistent hashing, replication and LRU eviction. Shows interview pacing, but durability and conflict handling are thin.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 1 of 3 links from the audited catalog kept
- educative.io/courses/grokking-the-system-design-interview/design-of-a- Paywalled course chapter; only the requirements preview is public, and the Dynamo paper it is based on is free.
- youtube.com/playlist?list=PL1MM4yIzUdPm2L_Lz8gRa_q6ZElgNoArH Public playlist, but the sampled first part is a slow, introductory narration; the Dynamo paper and Cassandra docs cover the material far better.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Candidate reports
- Candidate report Databricks
- Onsite system design round asked for an in-memory key-value store that is durable across crashes and reboots (a single-node framing of the question). · posted 2021-02-11 · checked 2026-12-06
Catalog tags (unverified)
AppleGoogleCanvaAvalaraRubrikOpendoor
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING
Related practice and guides
From our Learn guides
- Case study Case study: reading the Dynamo paper
- Case study Case study: reading the Haystack photo storage paper
- Pattern Consistency and idempotency in practice
- Guide Estimates that drive decisions
- Pattern Partitioning and ordering: choosing keys you can live with