Grokking the System Design Interview, Volume II
0% completed
Sessions and Events
We have seen how Chubby locks work. Now we look at the session that ties a client's locks and data together, and the events Chubby uses to keep it informed.
What is a Chubby session?
A Chubby session is a relationship between a Chubby cell and a Chubby client. It stays alive over time, kept going by periodic handshakes called KeepAlives. A client's handles, locks, and cached data stay valid only as long as its session does. A handle is the client's open reference to a Chubby node.
Session protocol
A client asks for a new session the first time it contacts the cell's master
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%