0
46kviews
Explain Architecture of Google File System?
1 Answer
5
3.7kviews

enter image description here

  1. There is single master in the whole cluster which stores metadata.
  2. Other nodes act as the chunk servers for storing data.
  3. The file system namespace and locking facilities are managed by master.
  4. The master periodically communicates with the chunk servers to collect management information and give instruction to chunk servers to do work such as load balancing or fail recovery.
  5. With a single master, many complicated distributed algorithms can be avoided and the design of the system can be simplified.
  6. The single GFS master could be the performance bottleneck and single point of failure.
  7. To mitigate this, Google uses a shadow master to replicate all the data on the master and the design guarantees that all data operations are transferred between the master and the clients and they can be cached for future use.
  8. With the current quality of commodity servers, the single master can handle a cluster more than 1000 nodes.

The features of Google file system are as follows:

  1. GFS was designed for high fault tolerance.
  2. Master and chunk servers can be restarted in a few seconds and with such a fast recovery capability, the window of time in which data is unavailable can be greatly reduced.
  3. Each chunk is replicated at least three places and can tolerate at least two data crashes for a single chunk of data.
  4. The shadow master handles the failure of the GFS master.
  5. For data integrity, GFS makes checksums on every 64KB block in each chunk.
  6. GFS can achieve the goals of high availability, high performance and implementation.
  7. It demonstrates how to support large scale processing workloads on commodity hardware designed to tolerate frequent component failures optimized for huge files that are mostly appended and read.
Please log in to add an answer.