System Design
20. System Design Case StudiesAnimated
Cloud Storage System (Google Drive)
Store and sync files across devices.
The idea
Files are split into chunks, stored durably, deduplicated and synced by metadata.
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 blocks; only changed blocks are uploaded.
- step:
- 1/4
- at:
- Client
1/9
The green dot is a request moving through the system.
Step by step
- 1Split into chunks
- 2Upload changed chunks
- 3Update metadata
- 4Notify other devices
Where it is used
File sync design.
Watch out for
Conflict resolution and large files.