Code Room
System designMedium
Question
Design a resumable large-file upload service for clients on flaky networks uploading multi-GB files (video, datasets, disk images). Constraints: uploads must survive dropped connections and resume without restarting, parts upload in parallel, the assembled object must be integrity-verified, partial/abandoned uploads must not leak storage forever, and the server should detect duplicate re-uploads cheaply. Cover the upload protocol, assembly, and cleanup.
What a strong answer looks like
Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts — data model, bottlenecks, consistency, failure modes — and name the trade-offs you are making.
Learn the concepts
Loading whiteboard…
Run or narrate your approach, then ask the coach.