Skip to content

Foundational papers and systems

Most of the building blocks used in system design interviews were first described in a handful of papers from Google, Amazon, Facebook, LinkedIn and academia. Reading them shows where today’s databases, queues and schedulers came from, and which trade-offs their authors made on purpose. This page groups the essential papers by the problem they solve and says, in one line each, what to take away.

Do not try to memorise numbers or internal APIs. A design paper is useful in an interview when you can retell it in three sentences and connect it to a decision you are making. For each paper, look for:

  1. The problem and its constraints. What workload, scale and failure rate did the authors design for? GFS assumed that disks and machines fail daily and that files are huge and mostly appended to. That assumption explains almost every other choice in the paper.
  2. The key idea. Usually one mechanism carries the paper: TrueTime in Spanner, lineage in Spark, quorums and hinted handoff in Dynamo, the commit log in Kafka.
  3. What each component is for, and where it breaks. Note which part handles metadata, which stores data, and which coordinates. Then ask where the design stops working: a single master, a hot partition, a cross-region round trip.
  4. Shared patterns. Compare papers in the same group. Chubby and ZooKeeper both expose consensus as a small service; Bigtable and Cassandra both store data in sorted immutable files plus an in-memory buffer.
  5. Lessons learned. The evaluation and “experience” sections are often the most practical part. They say what surprised the team in production.

A three-pass approach works well: skim the abstract, headings and figures first (10 minutes); then read the design section closely; read the proofs and evaluation only if you need them. S. Keshav’s short note How to Read a Paper describes this method.

Many of these systems build directly on each other. In both diagrams below, an arrow means “builds on or borrows ideas from”. The first covers coordination and storage:

flowchart LR
  paxos["Paxos<br/>(2001)"] --> chubby["Chubby<br/>(2006)"]
  paxos --> raft["Raft<br/>(2014)"]
  chubby --> zk["ZooKeeper<br/>(2010)"]
  gfs["GFS<br/>(2003)"] --> hdfs["HDFS"]
  gfs --> bt["Bigtable<br/>(2006)"]
  chubby --> bt
  bt --> spanner["Spanner<br/>(2012)"]
  bt --> cass["Cassandra<br/>(2009)"]
  dynamo["Dynamo<br/>(2007)"] --> cass
  dynamo --> ddb["DynamoDB<br/>(2022 paper)"]

The second shows how batch and stream processing grew out of GFS and MapReduce:

flowchart LR
  gfs["GFS<br/>(2003)"] --> mr["MapReduce<br/>(2004)"]
  mr --> spark["Spark RDDs<br/>(2012)"]
  mr --> dataflow["Dataflow model<br/>(2015)"]
  dataflow --> flink["Flink state<br/>(2017)"]
SystemYear and venueWhy it mattersPaper
MapReduce (Google)2004, OSDITwo user functions, while the framework handles partitioning, scheduling, stragglers and machine failures. The template for batch processing on commodity clusters.research.google
Spark: Resilient Distributed Datasets (UC Berkeley)2012, NSDIKeeps working data in memory as immutable datasets. Lost partitions are rebuilt from their lineage instead of being replicated, which makes iterative and interactive jobs fast.usenix.org
The Dataflow model (Google)2015, VLDBOne model for batch and streaming: event time versus processing time, windows, watermarks and triggers. The basis of Apache Beam and of most modern stream processors.vldb.org (PDF)
State management in Apache Flink2017, VLDBHow a stream processor keeps large state consistent across failures with asynchronous distributed snapshots. This is the mechanism behind exactly-once stream processing.vldb.org (PDF)
SystemYear and venueWhy it mattersPaper
Bigtable (Google)2006, OSDIA sorted, sparse map split into tablets and stored on GFS, with memtables and immutable SSTables. It introduced the wide-column model that HBase and Cassandra follow.research.google
Dynamo (Amazon)2007, SOSPThe classic leaderless, always-writable key-value store: consistent hashing, sloppy quorums, hinted handoff, vector clocks and Merkle-tree repair.allthingsdistributed.com (PDF)
Cassandra (Facebook)2009, LADISDynamo’s partitioning and replication combined with Bigtable’s storage model. A good case study of tunable consistency and its costs.cornell.edu (PDF)
Spanner (Google)2012, OSDIGlobal SQL with externally consistent transactions. TrueTime bounds clock uncertainty, and data is split into Paxos-replicated groups. The ancestor of distributed SQL databases.usenix.org
Aurora (Amazon)2017, SIGMODSends only redo-log records to a shared storage tier that keeps six copies across three Availability Zones and confirms a write once 4 of the 6 have it. Separating compute from storage became the standard design for cloud databases.amazon.science
Amazon DynamoDB2022, USENIX ATCTen years of running a managed NoSQL service: predictable latency, partition splitting, admission control and Multi-Paxos replication. It differs a lot from the 2007 Dynamo design.usenix.org
Memcache at Facebook2013, NSDILook-aside caching at billions of requests per second: leases against stale sets and thundering herds, regional pools, and invalidations driven by the database’s replication stream.usenix.org
TAO (Facebook)2013, USENIX ATCA read-optimised, graph-aware cache over sharded MySQL that serves objects and their associations. Shows how to build a social graph store with eventual consistency.usenix.org
SystemYear and venueWhy it mattersPaper
Google File System (GFS)2003, SOSPOne master holds metadata, data lives in 64 MB chunks with three replicas, and consistency is relaxed for append-heavy workloads. It treats component failure as normal.research.google
HDFS architecture (Apache Hadoop)Design docThe open-source counterpart of GFS: NameNode and DataNodes, rack-aware replica placement, and the write and read paths.hadoop.apache.org
Haystack (Facebook)2010, OSDIPacks billions of small photos into large volume files so that reading a photo needs about one disk seek. The same idea appears in many blob stores.usenix.org
Tectonic (Facebook)2021, FASTOne exabyte-scale, multitenant file system that replaced Haystack, f4 and HDFS, with its metadata in the ZippyDB key-value store. Shows the move from special-purpose stores to one shared platform.usenix.org
SystemYear and venueWhy it mattersPaper
Paxos Made Simple (Leslie Lamport)2001The consensus algorithm explained in plain prose. Every replicated log and leader-election service relies on this idea.lamport.azurewebsites.net (PDF)
Chubby (Google)2006, OSDIA coarse-grained lock service and small-file store built on Paxos. Explains why application teams find a lock service easier to use correctly than a consensus library.research.google
ZooKeeper (Yahoo!)2010, USENIX ATCSimple wait-free primitives (znodes, watches, sequential nodes) from which clients build locks, leader election, group membership and configuration.usenix.org
Raft (Stanford)2014, USENIX ATCConsensus designed to be understandable: a strong leader, log replication and safe membership changes. Used by etcd, Consul and most distributed SQL databases.usenix.org · raft.github.io
SystemYear and venueWhy it mattersPaper
Kafka (LinkedIn)2011, NetDBA partitioned, append-only log on disk. Consumers pull data and track their own offsets, so messages become durable, replayable streams.microsoft.com (PDF)
The Log (Jay Kreps, essay)2013Not a paper, but the clearest explanation of why an ordered log ties together databases, replication, data integration and stream processing.web.archive.org (archived copy)
SystemYear and venueWhy it mattersPaper
Dapper (Google)2010, tech reportSampled, low-overhead tracing: trace and span IDs travel with every RPC. The model behind Zipkin, Jaeger and OpenTelemetry tracing.research.google
SystemYear and venueWhy it mattersPaper
Borg (Google)2015, EuroSysRuns latency-sensitive services and batch jobs together on shared clusters of up to tens of thousands of machines, using priorities, quotas and overcommit to keep utilisation high.research.google
Borg, Omega, and Kubernetes2016, ACM QueueLessons from three generations of Google cluster managers and how they shaped Kubernetes: pods, labels and the reconciliation loop.research.google
SystemYear and venueWhy it mattersPaper
Zanzibar (Google)2019, USENIX ATCA global authorisation service built on relation tuples and Spanner. Many open-source permission systems copy its model.usenix.org
FoundationDB (Apple)2021, SIGMODA transactional key-value store split into separate components, tested with deterministic simulation. It shows how to make a distributed database testable.foundationdb.org (PDF)
Metastable failures in the wild (Penn State, UNH, Twitter)2022, OSDIStudies 22 real incidents from 11 organisations in which a system stayed overloaded after the trigger was gone, because a feedback loop such as retries kept it there. Explains why load shedding and retry limits matter.usenix.org

The original primer also linked introductory slides on HBase, MongoDB, Memcached and Redis. Those decks are gone. The NoSQL and caching pages cover the same material.

  • GFS became Colossus. Google moved file-system metadata into Bigtable, served by many metadata servers instead of a single master. Google’s overview of Colossus is a short follow-up to the GFS paper.
  • MapReduce gave way to dataflow engines. Spark, Flink, Beam and cloud data warehouses replaced hand-written map and reduce jobs. The ideas of partitioning work and re-running failed tasks are unchanged.
  • Kafka no longer needs ZooKeeper. Kafka now keeps its metadata in its own Raft-based quorum (KRaft), and Kafka 4.0 removed ZooKeeper mode. Consensus moved inside the system instead of living in a separate service. In 2025 LinkedIn, where Kafka started, announced Northguard, its own log store with sharded, Raft-backed metadata, to get past Kafka’s limits at its scale.
  • Leader-based replication won for new databases. DynamoDB itself uses Multi-Paxos rather than the leaderless Dynamo design, and the distributed SQL databases inspired by Spanner use Raft or Paxos groups per range. The Dynamo paper is still the best explanation of the leaderless alternative.
  • Storage was separated from compute. The Aurora design, with a shared log-structured storage tier under stateless database nodes, is now common across managed Postgres and MySQL services.
  • Borg led to Kubernetes, and Dapper led to OpenTelemetry. Both papers explain why the open-source tools you use look the way they do.
  • How to Read a Paper by S. Keshav: the three-pass method in two pages.
  • Papers We Love: a large, community-curated index of computer science papers, sorted by topic.
  • The Morning Paper archive: Adrian Colyer’s summaries of more than a thousand papers. No new posts since 2021, but the archive is excellent.
  • Murat Demirbas’s blog: regular, readable reviews of new distributed systems papers.
  • Jepsen analyses: tests of what real databases do under network partitions, compared with what their documentation claims.

Based on The System Design Primer by Donne Martin (CC BY 4.0). Restructured, rewritten and updated; site content is licensed under CC BY 4.0.