Why it matters
Chubby's design shaped ZooKeeper, etcd, and every modern coordination service. Understanding illuminates the space.
Advertisement
The architecture
Clients: use library for coarse-grained locking.
Cell: 5-server replica set. Paxos for consensus.
Advertisement
How it works end to end
Namespace: hierarchical files like filesystem. Small file sizes (KB).
Locks: acquire file for exclusive access. Coarse-grained.
Sessions: client-server keep-alives. Session expiration triggers cleanup.
Watches: notification on file changes.