PAPERS EXPLAINED
Research papers explained
Plain-language explanations of influential computer science papers: what problem each one solves, how it works, what to know before reading, and a short quiz to check your understanding. The papers are linked at their original source.
How a group of machines agrees on one value or one log, even when some of them fail.
Leslie Lamport, Robert Shostak, Marshall Pease · ACM TOPLAS 1982
Healthy components can agree despite faulty ones sending conflicting information only if more than two-thirds are healthy, when messages are unsigned. With unforgeable signatures, agreement is possible for any number of faulty components.
Leslie Lamport · ACM SIGACT News 2001
Lamport re-explains Paxos in plain English. He derives a two-phase consensus protocol from its safety requirements, then shows how a leader running many consensus instances can implement a fault-tolerant replicated state machine.
Tushar D. Chandra, Robert Griesemer, Joshua Redstone · ACM PODC 2007
Google's engineers describe building Chubby's replicated database on Paxos. They show that a production system needed many extensions, careful testing and operational safeguards beyond the textbook algorithm, and that it outperformed the commercial database it replaced.
Diego Ongaro, John Ousterhout · USENIX ATC 2014
Raft is a consensus algorithm for managing a replicated log that the authors designed to be easier to understand than Paxos. It splits consensus into leader election, log replication, and safety, and a user study suggests students learn it more easily.
Logical time
Ordering events across machines without a shared clock.
Leslie Lamport · Communications of the ACM 1978
Lamport defines a 'happened before' partial order on events in a distributed system. He shows how simple logical clocks extend it to a total order usable for synchronization, then adapts the rules to physical clocks and proves a skew bound.
Storing and serving data across many machines: replication, partitioning and consistency.
Sanjay Ghemawat, Howard Gobioff, Shun-Tak Leung · ACM SOSP 2003
GFS is a distributed file system built for huge, mostly appended files on failure-prone commodity machines. It uses a single metadata master, large replicated chunks, leases for write ordering, and a relaxed consistency model that applications work around.
Fay Chang, Jeffrey Dean, Sanjay Ghemawat et al. · USENIX OSDI 2006
Bigtable is Google's distributed storage system. It exposes data as a sorted map of (row, column, timestamp) to bytes, splits tables into tablets served by many servers, and uses GFS, SSTables and the Chubby lock service to scale to petabytes for dozens of products.
Giuseppe DeCandia, Deniz Hastorun, Madan Jampani et al. · ACM SOSP 2007
Dynamo is Amazon's decentralized key-value store. It stays writable during server, network and datacenter failures by relaxing consistency. It combines consistent hashing, replication, vector clocks, sloppy quorums and gossip, and reports production experience.
James C. Corbett, Jeffrey Dean, Michael Epstein et al. · USENIX OSDI 2012
Spanner is Google's globally replicated database. It gives transactions real-time-ordered commit timestamps by using TrueTime, a clock API that reports bounded uncertainty, and by waiting out that uncertainty before committing.
Data processing
Running large computations and coordination services across clusters.
Jeffrey Dean, Sanjay Ghemawat · USENIX OSDI 2004
MapReduce lets programmers write just a map and a reduce function, while a library automatically parallelizes the job across thousands of commodity machines and handles failures, stragglers and data movement.
Mike Burrows · USENIX OSDI 2006
Chubby is Google's replicated lock service with a small-file interface, built for coarse-grained coordination such as leader election. The paper describes its design and what years of real use revealed, including its unexpected role as the company's main name service.
Overlays and DHTs
Peer-to-peer networks and distributed hash tables that find data without a central index.
Petar Maymounkov, David Mazières · IPTPS (LNCS 2429) 2002
Kademlia is a peer-to-peer distributed hash table that measures distance between IDs with XOR. That one choice drives a simple routing table, parallel lookups that tolerate failures, and a proof sketch of logarithmic lookups and reliable storage.