System Design Cases10 lessons22 quiz questions
Design: File Storage System (Google Drive/Dropbox)
10-session plan from basic file storage to chunked deduplication, sync, and collaboration.
What You Will Learn
- ✓Requirements & Core Design
- ✓Upload Pipeline
- ✓Deduplication
- ✓Versioning
- ✓Download & CDN
- ✓Sync Protocol
- ✓Conflict Resolution
- ✓Sharing & Permissions
- ✓Storage Optimization & GC
- ✓Mock Interview
Overview
10-session plan from basic file storage to chunked deduplication, sync, and collaboration.
Design: File Storage System (Google Drive/Dropbox): Requirements & Scope
Functional Requirements
Before designing anything, clarify what the system needs to do:
Core features — What are the must-have features?
User types — Who uses the system? End users, admins, API consumers?
Scale — How many users? What's the read/write ratio?
Non-Functional Requirements
Availability: 99.9% (8.7 hours downtime/year) or 99.99%?
Latency: < 100ms for reads? < 500ms for writes?
Consistency: Strong or eventual? CAP trade-off?
Durability: Can we lose data? How much?
Clarifying Questions to Ask
What's the expected DAU (Daily Active Users)?
What's the read-to-write ratio?
Do we need real-time updates?
What's our budget constraint?
What geography do we serve?
Interview Tip
"I always spend the first 5 minutes clarifying requirements. This shows structured thinking and prevents designing the wrong system. I explicitly separate functional from non-functional requirements."
Java Implementation
Python Implementation
Sample Quiz Questions
1. Why is chunked upload better than single-file upload for large files?
·Difficulty: easy/5
2. What hash function is used for block-level deduplication fingerprinting?
·Difficulty: medium/5
3. User A edits a file on their laptop while offline. User B edits the same file online. When A reconnects, how do you handle the conflict?
·Difficulty: hard/5
+ 19 more questions available in the full app.
Related Topics
Master Design: File Storage System (Google Drive/Dropbox) for Your Next Interview
Get access to full lessons, adaptive quizzes, cheat sheets, code playground, and progress tracking — completely free.