问题原文
原帖链接 · 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.
It will cache them and reduce traffic from S3.
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.
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 :)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
