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.
- 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
- 1Split the file into blocks
- 2Replicate each block
- 3Record the placement in the metadata service
- 4Read from any replica
Where it is used
HDFS and GFS-style design.
Watch out for
Metadata service scaling and rebalancing.