I have a REST web service that contains a /image/view/ resource that displays an image. The image is currently stored as an object in Amazon S3. When /image/view/ is accessed, the web service downloads the image from S3, resizes it and serves to the user.
This approach is currently two requests:
Web service gets object from S3 Client gets image from web service
If I were to host my web service on an EC3 instance, would the time it takes to retrieve the object from S3 be reduced significantly?