Interview's MateSystem Design
Interview's Mate

System Design

Architecture & trade-offs

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
All topics/System Design Case Studies
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
Practice in AI HLD
Subtopics in System Design Case Studies (8)
OverviewURL ShortenerNews FeedChat AppUber / Ride-HailingYouTube / StreamingDropbox / DriveWeb CrawlerNotification System

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
Previous subtopic
Case Study: Video Streaming (YouTube / Netflix)
Next subtopic
Case Study: Distributed Web Crawler (Googlebot)