Let's explore the rationale behind Chubby's architecture.
Before we jump into further details and working of Chubby, it is important to know the logic behind certain design decisions. These learnings can be applied to other problems of similar nature.
Why was Chubby built as a service?
Let's first understand the reason behind building a service instead of having a client library that only provides Paxos distributed consensus. A lock service has some clear advantages over a client library:
- Development becomes easy: