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
System Design
Software Engineer
Amazon
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

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
Multipart upload
Checksums
Atomic commit
Metadata store
Lifecycle cleanup
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. 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 Problems
Sample 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...

Submit Your Answer
Markdown supported