Blog/

Presigned URL and Multi-Part Upload

Lesson overview

Presigned URL and Multi-Part Upload

How to upload large files (like a 2GB video) without sending them through your backend twice — pre-signed URLs offload the transfer to S3, and multi-part upload retries only failed chunks.

Solution 1. Pre-signed Url 2. MultiPart Upload

Imagine you have to upload 2 GB file on youtube and what happen if internet drops

Lorem ipsum dolor sit amet, consectetur adipiscing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad miveniam, quis nostrud exercitaullamco laboris nisi ut aliquip ex ea ommodo consequat. Duis aute irure dolor in reprehenderit i

Lorem ipsum dolor s, consectetur adipng d do eiusmopor incididunt ut labore et dolore magna aliqua. Ut enim ad miveniam, quis nostrud exercitaullamco laboris nisi ut aliquip ex ea ommodo consequat. Duis aute

2 gb data is transfering twice what happen if upload fail after 1.2 gb

Pre-Signed URL

response - pre-signed url

and S3 returned E-tags

Multi-parting

Pre-Signed + Multi-part

S3- return multiple urls for each multi-part file

and return E-tags for all

I hope you understand this concept

Follow me for System Design Concept

Loading Presigned URL and Multi-Part Upload