Written by Prashant Basnet
👋 Welcome to my Signature, a space between logic and curiosity.
I’m a Software Development Engineer who loves turning ideas into systems that work beautifully.
This space captures the process: the bugs, breakthroughs, and “aha” moments that keep me building.
Ways to handle image in application:
To create a scalable application, we should be able to handle our growing demand for images handling. One of prominent ways to store the images in application is using cloud storage like AWS S3.
In this article we will primarily compare 3 different types of architecture to handle images in the apps.
Ways to use external bucket:
Pre-signed Url from the server is sent to access images for certain time like 1 hour, could be 7 day, or custom time set by the programmer.
The second approach sounds good enough. So we implemented it on our architecture.
But as the image uploading starts picking up, it will start being slow and hard to manage as well as keep it up, as every single image
Every single image => Extra work to the api to call extra function.
Server-side upload:
CDN fetching:
Code optimisation: