Cloudfront - 通过 CDN 传播文件?
我遇到了一种情况,我正在将文件上传到 AWS Cloudfront 发行版的 S3。一旦它们上传并设置权限,我就会发送我的用户查看内容...但我刚刚遇到过这样的情况:内容在大约 3 分钟左右的时间里无法实现。
我认为这是 AWS 的高流量时期,文件需要一段时间才能在网络上传播?
是否有任何人知道的反馈协议来检查这一点(除了文件下载的通用尝试之外)或者是否是这种情况,或者其他解释?
got a situation where I'm uploading files to S3 for a AWS Cloudfront distro. As soon as they're uploaded and perms set I'm sending my user to view the content... but I've just had a situation where the content failed to materialise for some 3 minutes or so.
I presume this is a high traffic period of such for AWS and files took a while to propagate round the network?
Is there any feedback protocols anyone knows of to check for this (other than generic tries on file downloading) or if this is the case, or another explanation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文件不会在 CloudFront 周围传播,每个 CloudFront 位置根据需要分别从源服务器获取数据。如果您没有收到来自亚洲的任何请求,亚洲 CloudFront 服务器将永远不会获取文件。
Files don't propagate around CloudFront, each CloudFront location fetches data from the origin server individually as-needed. If you don't get any requests from Asia, the Asian CloudFront servers will never fetch the files.