Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

Master Operations

Let's learn the different operations performed by the master.

The master executes all namespace operations. Furthermore, it manages chunk replicas throughout the system. It is responsible for:

  • Making replica placement decisions
  • Creating new chunks and hence replicas
  • Making sure that chunks are fully replicated according to the replication factor
  • Balancing the load across all the ChunkServers
  • Reclaim unused storage

Namespace management and locking

The master acquires locks over a namespace region to ensure proper serialization and to allow multiple operations at the master




Like the course? Get enrolled and start learning!