Search
⌘K
Get Premium
Patterns
Handling Large Blobs
Learn about how to handle large blobs in your system design interview.
Handling Large Blobs
📁 Large files like videos, images, and documents need special handling in distributed systems. Instead of shoving gigabytes through your servers, this pattern uses presigned URLs to let clients upload directly to blob storage and download from CDNs. You also get resumable uploads, parallel transfers, and progress tracking - the stuff that separates real systems from toy projects.
The Problem
If you've been studying for system design interviews, you already know that large files belong in blob storage like S3, not in databases. This separation lets storage scale independently from compute and keeps database performance snappy.
Why blob storage?
Databases are great at structured data with complex queries but terrible with large binary objects. A 100MB file stored as a BLOB kills query performance, backup times, and replication. Object stores like S3 are built for this: unlimited capacity, 99.999999999% (11 nines) durability, and per-object pricing. As a general rule of thumb, if it's over 10MB and doesn't need SQL queries, it should probably be in blob storage.
While blob storage solved the storage problem, it didn't solve the data transfer problem. The standard approach routes file bytes through your application servers. A client uploads a 2GB video, the API server receives it, then forwards it to blob storage. Same for downloads - blob storage sends to the API server, which forwards to the client. This works for small files, but breaks down as files get bigger.
Server as a Proxy
The Solution
Simple Direct Upload
Simple Direct Download
Resumable Uploads for Large Files
State Synchronization Challenges
Cloud Provider Terminology
When to Use in Interviews
Common interview scenarios
When NOT to use it in an interview
Common Deep Dives
"What if the upload fails at 99%?"
"How do you prevent abuse?"
"How do you handle metadata?"
"How do you ensure downloads are fast?"
Conclusion
Purchase Premium to Keep Reading
Unlock this article and so much more with Hello Interview Premium
Currently up to 25% off
Hello Interview Premium
Reading Progress
On This Page
The Problem
The Solution
Simple Direct Upload
Simple Direct Download
Resumable Uploads for Large Files
State Synchronization Challenges
Cloud Provider Terminology
When to Use in Interviews
Common interview scenarios
When NOT to use it in an interview
Common Deep Dives
"What if the upload fails at 99%?"
"How do you prevent abuse?"
"How do you handle metadata?"
"How do you ensure downloads are fast?"
Conclusion
Schedule a mock interview
Meet with a FAANG senior+ engineer or manager and learn exactly what it takes to get the job.
