Cloudfront缓存高未命中率

0

【以下的问题经过翻译处理】 有客户提到,他们发现欧洲地区与美国相比存在更高的延迟。

他们使用的服务为: CloudFront -> S3源(位于us-west-1)。 请求使用HTTPS,并使用签名URL。 使用默认缓存行为。

查看他们的缓存统计报告,我们发现在过去的两周中欧洲地区有52%的缓存未命中。

1.我正在尝试找到一种方法来验证高%的未命中是否有效。 即,请求针对不同的对象进行,因此没有获得缓存效益。 2.这些对象仅被修改一次,因此客户想查看增加TTL是否有所帮助。由于请求使用签名URL,我不认为它会有所帮助,但我想在这里进行检查。

profile picture
EXPERT
asked 6 months ago18 views
1 Answer
0

【以下的回答经过翻译处理】 客户应该在他们的CF分发上启用访问日志:https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html

通过AWS Athena或其他分析工具分析日志将帮助客户了解哪个对象或边缘位置对miss率做出了最大的贡献。如果源是S3,则我们可以使用snf https://s3prod-finder.amazon.com/snmFinder/snmFinder 来告诉对象的生命周期。使用edge工具来了解每个CF请求的洞察力:https://edge-tools.amazon.com/

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions