Files Upload Strategies

Uploading Strategies:

upload files to server Hard Drive:

user sending image to the server
image stored in server’s Hard Drive
Load Balancer Route Users Request To Server That not contains needed image
Shared Hard Drive between servers

upload files to server disk as temp then store them to cloud file storage:

Shared Cloud file storage Amazon S3
Decoupling image uploading from client request with a queue with eventual consistency

upload files from client to cloud file storage using pre-signed URLs:

Pre signed URL:

Conclusion:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store