Handling Large Blobs medium
To avoid overloading the Application Server with bandwidth, how should a client upload a 10GB file?
- A Upload to the App Server, which then proxies it to S3.
- B Upload via FTP.
- C Email the file.
- D The App Server generates a 'Presigned URL' (Temporary Credentials) for the S3 bucket. The Client uploads directly to S3 using this URL.
Answer: D. The App Server generates a 'Presigned URL' (Temporary Credentials) for the S3 bucket. The Client uploads directly to S3 using this URL.
This offloads 100% of the I/O traffic from the expensive web server to the scalable object storage.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- Why do modern sites serve images in WebP or AVIF format?
- What does the acronym BLOB stand for?
- Why do we sometimes convert binary images to Base64 strings?
- What is an 'Origin Shield' or 'Mid-Tier Cache' in a CDN architecture?
- For a feed with 100 images, why use 'Lazy Loading'?
- How does HLS/DASH handle a user moving from WiFi to 4G (Variable Bandwidth)?