Grokking the System Design Interview, Volume II
Vote

0% completed

​

File, Directories, and Handles

We have seen how a client finds the Chubby master. Now we look at what a client actually works with: files, directories, and the handles it uses to open them.

Chubby's file system interface is a tree of files and directories. Each directory holds a list of child files and directories. Chubby calls each file or directory a node, the basic object in that tree.

Nodes

Any node, whether a file or a directory, can act as an advisory reader/writer lock. Advisory means Chubby does not force anyone to respect it. The lock only works if every client checks it before touching the resource it protects

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content