Grokking the System Design Interview, Volume II
0% completed
How Chubby Works
We have looked at Chubby's high-level architecture. Now we look at how it actually works. This lesson covers how a cell starts, how a client finds the master, and how an application can use Chubby for leader election.
Service initialization
When a Chubby cell starts, the replicas choose a master among themselves. They use Paxos, the consensus protocol that lets a group of servers agree on one value even when some of them fail. Once a master is chosen, its identity is written to storage, so every replica knows who the master is.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%