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

0% completed

Sessions and Events

This lesson will explain Chubby sessions and what different Chubby events are.

What is a Chubby session?

A Chubby session is a relationship between a Chubby cell and a Chubby client.

  • It exists for some interval of time and is maintained by periodic handshakes called KeepAlives.
  • Client's handles, locks, and cached data only remain valid provided its session remains valid.

Session protocol

  • Client requests a new session on first contacting the master of Chubby cell.
  • A session ends if the client ends it explicitly or it has been idle




Like the course? Get enrolled and start learning!