Design Resumable Multipart Upload for Multi-Gigabyte S3 Objects
Last updated: November 29, 2026
Quick Overview
Design an S3-style multipart upload API that lets clients upload objects of up to several terabytes in parallel parts, resume after failures, and complete the upload atomically.
Amazon
November 29, 20260
0
0 solved
Design an S3-style multipart upload API that lets clients upload objects of up to several terabytes in parallel parts, resume after failures, and complete the upload atomically.
An AWS storage design question that checks whether you understand how large uploads are split, tracked and committed. The interviewer looks for atomic completion, integrity checks on each part, and cleanup of abandoned uploads.
What the Interviewer Expects
- Define the three-step API: initiate, upload part, complete or abort
- Store parts independently and track them in upload metadata
- Verify integrity with per-part checksums
- Make completion atomic and the object invisible until then
- Clean up incomplete uploads with lifecycle rules
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would the client resume after a laptop sleeps mid-upload?
- How do you compute the final ETag without reading all the data again?
- What happens if a part is uploaded twice with different content?
- How do you avoid a metadata hot spot when one upload has 10,000 parts?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: CreateMultipartUpload(bucket, key) returns an upload ID; UploadPart(uploadId, partNumber, data) for parts of 5 MB to 5 GB, numbered up to 10,000; ListParts to resume; `Complete(u...
High-Level Design
- Front end authenticates and routes requests.
- Upload metadata store:
upload_id -> {bucket, key, state, created_at}and `(upload_id, part_number) -> {etag, size, checksum, storage_location...