Mock Interviewer
Ask Coach
Tap a question to start, or type your own below.
File Storage System Design
Visual Problem Diagram

Scenario
Your design team is uploading a 50 GB folder, and three of you edited the same file while offline. You expect a dropped connection to continue from the part that already uploaded. The painful failure is when the upload starts over from the first byte, because the server kept the folder as one giant file and had no saved part to resume.
Clarify this problem here, or open Pathway Coach if you want a prep plan first.
You can upload files and folders and open them on another device. You can share a folder or a link. You can keep working offline and sync when you reconnect. You can see what happened when three people changed the same file.
You need to explain how a large file is stored in parts so an interrupted upload continues. You need to explain how the folder tree and the current version stay separate from the file bytes. You need to explain how a device learns which parts changed. You need to explain what you keep when three people edit the same file offline. You need to explain how a shared link checks permission before a download. Real-time editing inside one document can stay thin.
Constraints
Upload and download files. Keep a folder tree. Sync several devices. Share a link. Keep every offline edit of the same file.
About 99.9% durability means a finished upload should still be there later. A broken upload can resume. Most devices notice a change within a few seconds. Every download checks who is allowed to open the file.
500 million users, billions of files, and exabytes of bytes. The hot action is opening a file. The heavy read is a popular shared link.
Stages ahead
Not ready to design yet?
Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.
Log in to start practicing
Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.
Want full access now? View Pro pricing