S3: How to improve performance of fetching a list of images from S3

0

The index of an E-commerce website must display a list of product images, which will be updated regularly. The backend of this website is developed using Spring Boot. Each time the index page loads, it sends a request to the Spring Boot backend to retrieve data regarding product prices and images. Upon receiving the request, the Spring Boot backend retrieves product information from RDS and images from S3. During this process, how can the performance of fetching a list of images from S3 be enhanced?

jjshen
已提问 2 个月前251 查看次数
2 回答
1

The. following sections in Best practices design patterns: optimizing Amazon S3 performance may help

As this is a web site, you can use Amazon CloudFront CDN to cache S3 image contents at edge locations and improve performance. Refer to blog Improve your website performance with Amazon CloudFront for performance best practices.

AWS
专家
Mike_L
已回答 2 个月前
profile picture
专家
已审核 2 个月前
0

Hello,

Multiple things can be done to improve the performance of S3. First, you can use Multi-Region Access Points to ensure the data is available in different regions with automatic failover. In addition, you can use CloudFront to host the website, redirect dynamic requests to the compute instances, and cache content at the edge, which will drastically increase performance. Using CloudFront, AWS will then automatically use the Backbone to send the request back to the user.

profile picture
Julian
已回答 2 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容