Skip to content
StackDecode
System Design
20. System Design Case StudiesAnimated

Distributed File Storage System

Store huge files across many machines.

The idea

Files are split into blocks replicated across nodes, with a metadata service tracking placement.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

ClientMetadata / name…Data node 1Data node 2Data node 3
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Files are split into large chunks.

step:
1/4
at:
Client
1/10

The green dot is a request moving through the system.

Step by step

  1. 1Split the file into blocks
  2. 2Replicate each block
  3. 3Record the placement in the metadata service
  4. 4Read from any replica

Where it is used

HDFS and GFS-style design.

Watch out for

Metadata service scaling and rebalancing.

Related