Distributed systems
0 of 18 steps read
Evolution
Foundations
Papers from MapReduce to PBFT, and labs that build MapReduce, Raft and a sharded key-value store on it. In English.
MIT· 20262020 videosConsensus
Machines share no clock, so Lamport clocks order events by the messages between them.
1978The original Paxos paper, reaching consensus despite crashed and slow nodes, told as the story of a Greek parliament.
DEC· 1998Paxos is hard to understand and build, so Raft splits consensus into leader election and log replication.
Stanford· 2014Coordination
Rather than a Paxos library in every system, Google offers consensus as a lock service that GFS and Bigtable use to elect masters.
Google· 2006Instead of fixed lock primitives, ZooKeeper offers a small tree of files with watches, from which clients build locks and leader election.
Yahoo· 2010Replicated storage
Commodity disks fail constantly and files are huge, so GFS keeps metadata on one master and replicates large chunks across servers.
Google· 2003Structured data outgrew one database, so Bigtable splits sorted tables into tablets served across machines on GFS and Chubby.
Google· 2006Strong consistency usually costs throughput, so chain replication passes writes down a chain of servers and serves reads from its tail.
Cornell· 2004In the cloud the network is the bottleneck, so Aurora ships only the redo log and lets the storage tier build pages.
Amazon· 2017Caching Facebook's reads in memcached brought stale sets and thundering herds, which leases and invalidations fix.
Meta· 2013Consistency
To define correctness for concurrent objects, linearizability requires each operation to appear to take effect instantly between its call and return.
CMU· 1990Amazon's cart must always accept writes, so Dynamo replicates with sloppy quorums and resolves conflicting versions on read.
Amazon· 2007DynamoDB shares Dynamo's name but not its design, running each partition as a Multi-Paxos group for predictable performance.
Amazon· 2022Transactions
TrueTime bounds clock error, so transactions stay consistent across data centers.
Google· 2012Distributed transactions do not scale, so large systems update one entity at a time and coordinate the rest with messages.
Amazon· 2007Failures
With wide fan-out a few slow servers delay most requests, so services hedge requests and tolerate the tail.
Google· 2013Byzantine faults
Earlier Byzantine protocols were too slow to use, so PBFT tolerates lying replicas with practical overhead.
MIT· 1999