大网数据广告活动
服务器运维问答

Performance consideration for loading Images from S3 bucket

· 52CE 我爱测

I am working on e-commerce website where users can upload images for the product that they want to sell on the website. The website is running on a windows/IIS server. At the moment I am using Windows file system to store the ima…

问题原文

原帖链接 · Hooman Bahreini · CC BY-SA 4.0

I am working on e-commerce website where users can upload images for the product that they want to sell on the website. The website is running on a windows/IIS server.

At the moment I am using Windows file system to store the images, but sine the size of images is growing, I have decided to move them to AWS S3 bucket. My only concern is that I am not sure how good the performance would be? Is there anyway I could improve the image load time from S3? Does AWS provide a faster alternative?

已采纳解答

原帖链接 · MLu · CC BY-SA 4.0

S3 is fast enough for most use-cases. Even Amazon serves images from S3.

Having said that... Consider putting CloudFront CDN in front of the bucket and serve the images through CloudFront.

  1. It will cache them and reduce traffic from S3.

  2. It will bring the images closer to your visitors in different regions because CloudFront has Points of presence in over 160 datacentres around the world.

  3. It communicates with S3 over the internal AWS network which is often faster than public internet.

So yes, CloudFront is the answer. Hope that helps :)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-08-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。