- Newest
- Most votes
- Most comments
The discrepancy you're observing in the CloudFront Popular Objects report is likely due to how CloudFront calculates and reports these statistics. CloudFront counts requests for all objects in 10-minute intervals starting at midnight and maintains a running total of the top 150 objects for the next 24 hours. This method can lead to some inconsistencies when comparing single-day reports to multi-day ranges.
For objects near the bottom of the list, there's constant fluctuation as objects move on and off the list. As a result, the totals for these objects are approximations rather than exact counts. The top 50 objects tend to remain more stable on the list, so their totals are generally more reliable.
When you select a multi-day range, CloudFront provides a cumulative view of the most popular objects over that entire period. This may not always match the sum of individual day reports because:
- An object that appears in the top 50 for multiple single days might not rank as high when considering the entire range.
- The approximations for less popular objects can compound over multiple days.
- The running 24-hour totals may not align perfectly with calendar day boundaries.
It's important to note that while these reports offer valuable insights into object popularity, they are not designed to provide perfectly consistent arithmetic when comparing different date ranges. The reports are most useful for identifying trends and the most consistently popular objects rather than for precise request counting across arbitrary time periods.
Sources
View CloudFront popular objects reports - Amazon CloudFront
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 months ago
I'm seeing it happen with the most popular object, which is consistently available in the report. Also, the discrepancy is too big to be accounted for by a ten minute buffer around midnight, or similar effect. A concrete example:
date. # requests 10/16-17 64,753,300 10/17-18 61,157,395 sum: 125,910,695 10/16-18 94,721,374 difference: 31,189,321 % diff: 24%