Grokking the System Design Interview, Volume II
0% completed
Caching
Chubby serves far more reads than writes. Client caching is what keeps most of that read traffic away from the master, and it is the subject of this lesson.
Chubby cache
Read requests outnumber write requests in Chubby by a wide margin. So Chubby clients keep a client cache: their own copy of file contents, node metadata, and open handle information, held in memory. It is a consistent, write-through cache. That caching is what keeps most read traffic off the master. But it also means Chubby has two things to keep consistent. One is the cache against the real file
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%