System Design · Middle · Question 23 of 75
How do you reliably upload multi-gigabyte files?
- ✓Correct answer: Split into chunks with resume after a disconnect
- 2Send in a single request and increase the server timeout
- 3Compress the file in the browser to 10 MB before sending
Explanation
A drop at 95% of one big request loses everything. Chunks (S3 multipart upload, the tus protocol) let you resume from the break point, upload parts in parallel and show accurate progress.