RELIABILITY, SECURITY & CASE STUDIES · SUBTOPIC
Case Study: Cloud Drive & Sync (Dropbox / Google Drive)
4 MB block chunking, SHA-256 deduplication, delta sync, and long-poll/WebSocket change feeds.
AdvancedPart of System Design Case Studies
Subtopics in System Design Case Studies (8)
In plain words
Instead of re-uploading a whole 100 MB presentation when you fix one typo, Dropbox slices files into 4 MB numbered blocks. It checks which block fingerprints changed and uploads ONLY that single 4 MB block.
Think of it like…
Replacing one scratched tile on a kitchen floor instead of tearing up the entire floor.
Loading interactive diagram
Loading interactive exercise
Theory & how it works
Content-Addressable Deduplication
If 50,000 employees upload the same company PDF, storing blocks keyed by their SHA-256 hash means S3 stores those bytes once while 50,000 metadata rows point to the same block hashes - saving massive storage and upload time.
Key points & practical guide
Summary checklist
- Split files into 4 MB chunks for delta sync and resume
- Deduplicate identical chunks via SHA-256 content hashes
- Separate small ACID metadata tree from immutable S3 block storage
When to use it
- File sync, backup clients, collaborative workspace storage
Watch out for
- Uploading entire multi-hundred-MB files on small edits or syncing changes via constant 1-second polling
Quick check
Loading quiz