Distributed databases - Why, What, and How?
summary
Covers the roots and tradeoffs of modern distributed databases, citing Bigtable and Dynamo (2006–07), Akamai’s 1997 consistent hashing, Paxos (1990) and Raft (2013), and practical systems like Cassandra, FoundationDB, Spanner/F1, CockroachDB and DynamoDB. Explains partitioning, sharding, gossip for cluster state, rebalancing, replication and last-write-wins vs vector clocks, and the CP/AP spectrum with latency as a fourth axis. Notes real moves: Uber migrating from Cassandra to Spanner, Netflix and Family Zone using CockroachDB.
AI-written summary · about
chapters (15)
- 0:00Start
- 2:28Scaling demands
- 4:52CAP Theorem
- 6:59Partitioning methods
- 7:35Hash Partitioning
- 9:03Consistent Hashing
- 10:27Cluster communication
- 10:58Gossip Protocol
- 11:58Leader with Followers
- 12:34Paxos & Raft
- 13:16Eventual-Consistency: Replication
- 14:47Latency
- 16:17PIE Theorem
- 17:26Eventual-Consistency pains
- 17:44Consistency comeback
