Grokking the System Design Interview, Volume II
Vote

0% completed

Summary: Chubby

Summary

Chubby is a distributed lock service that runs inside Google's systems. Its locks are coarse-grained: clients hold them for hours or days, not seconds. That makes Chubby a much better fit for a workload with many reads and few writes than a system built for fine-grained locking. Its primary uses are naming, leader election, small file storage, and distributed locks.

A Chubby cell is what a Chubby cluster is called. A cell runs on more than one server, typically at least 3 to 5, known as replicas

.....

.....

.....

Like the course? Get enrolled and start learning!
S

Shan

· 4 years ago

In the high level architecture it says:

The master writes directly to its own local database, which gets synced asynchronously to all the replicas

Yes on this summary page it says:

To ensure strong consistency, Chubby master sends all write requests to the replicas. After receiving acknowledgments from the majority of replicas in the cell, the master sends an acknowledgment to the client who initiated the write.

So in regards to replication, is Chubby sync or async?

Reading Progress

0%


Vote for new content