Grokking the System Design Interview, Volume II
Vote

0% completed

​

Anatomy of a Read Operation

Now we can trace how a read moves through GFS. It starts with the client's request and ends with the bytes coming back.

A read from a GFS cluster runs through five steps.

  1. The client translates the file name and byte offset into a chunk index. The application gave it both. The chunk size is fixed, so this is a simple calculation.
  2. The client sends the master an RPC. It carries the file name and the chunk index.
  3. The master replies with the chunk handle and the replica locations. The client caches this reply, keyed by file name and chunk index. It uses the cache for later access. 4

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content