Question bank

No. 12 · Distributed infrastructure

Design a distributed key-value store

Advanced45 minSharding & partitioning · Replication & consensus · Consistency models · Failure detection · Hot keys · Estimation

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough 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.

  1. Dynamo: Amazon's Highly Available Key-value Store (SOSP 2007)

    All Things Distributed (Amazon) · Giuseppe DeCandia et al.PaperPaperFreeVetted

    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

  2. Cassandra architecture: Dynamo

    Apache Cassandra DocumentationDocsBackgroundFreeVetted

    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

  3. RocksDB Overview

    RocksDB Wiki (GitHub)DocsBackgroundFreeVetted

    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

  4. Bigtable: A Distributed Storage System for Structured Data (OSDI 2006)

    Google Research · Fay Chang et al.PaperPaperFreeVetted

    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

  5. Design a Key-Value Store - System Design Mock Interview (with Microsoft Software Engineer)

    Aced, formerly Exponent (YouTube)Mock interviewMock interviewFreeVetted

    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

Catalog tags (unverified)

AppleGoogleCanvaAvalaraRubrikOpendoor

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions