GFS File Operations

Let's understand the GFS API for its clients and compare its similarities and differences with a traditional file system API.

We saw the high-level architecture of GFS in the previous lesson, along with its system-level goals. Since it stores files, we should also know about the API it provides to its clients for storing, retrieving, or deleting their data. In this lesson, we will look into the GFS client API. Next, we will explain how GFS handles each of the client operations and how it meets its system-level goals.

The illustration below shows all of the operations that GFS clients can perform on files or directories.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.