The Computer Science behind a modern distributed data store
summary
Explains concrete techniques and tradeoffs: consensus uses Raft over Paxos with a 3‑node majority commit rule for leader‑appended logs; sorting uses parallel merge sort plus a small min‑heap kept in L2 cache to keep 32 cores busy (computed mismatch ~1280× between CPU and memory speeds); on‑disk storage uses LSM + Bloom/Cuckoo filters (RocksDB-style) to favor sequential writes; hybrid logical clocks preserve causality; distributed ACID transactions remain hard but Spanner, CockroachDB and FoundationDB show viable designs.
AI-written summary · about
