All Questions
Handling Large Blobs hard

In distributed file systems like HDFS, why is storing billions of small files (KB size) problematic?

  1. A It wastes disk space.
  2. B It is slow to read.
  3. C NameNode Memory Pressure. The metadata for a file (permissions, location) takes ram (~150 bytes). Billions of files consume hundreds of GB of RAM on the NameNode, crashing the cluster.
  4. D It is impossible.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions