Grokking the System Design Interview, Volume II
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.
- 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.
- The client sends the master an RPC. It carries the file name and the chunk index.
- 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%