Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

How Chubby Works

Let’s learn how Chubby works.

Service initialization

Upon initialization, Chubby performs the following steps:

  • A master is chosen among Chubby replicas using Paxos.
  • Current master information is persisted in storage, and all replicas become aware of the master.

Client initialization

Upon initialization, a Chubby client performs the following steps:

  • Client contacts the DNS to know the listed Chubby replicas.
  • Client calls any Chubby server directly via Remote Procedure Call (RPC).
  • If that replica is not the master, it will return the address of the current master.




Like the course? Get enrolled and start learning!