CDN Analytics¶
The CDN Analytics section provides essential insights into your Content Delivery Network performance, helping you understand how effectively your content is being cached and delivered to users worldwide.
Cache Performance Metrics¶
Edge Cache Hit Rate¶
The edge cache hit rate measures the effectiveness of your CDN's edge cache. Edge caches are located closest to end users and represent the first line of content delivery.
- High hit rates indicate that most content requests are served directly from edge locations
- Low hit rates may suggest opportunities to improve cache configurations or content optimization
- This metric directly impacts user experience through reduced latency
Shield Cache Hit Rate¶
The shield cache operates as a secondary cache layer between edge caches and your origin server. When content isn't available at the edge, it's retrieved from the shield cache before falling back to origin.
- Shield caches reduce the load on your origin server by serving as a consolidated cache layer
- High shield hit rates indicate effective cache hierarchy management
- This metric helps optimize origin server resources and bandwidth costs
Overall Cache Hit Rate¶
The overall cache hit rate combines both edge and shield performance to provide a comprehensive view of your caching effectiveness across the entire CDN infrastructure.
Traffic Distribution Metrics¶
Edge Traffic¶
Edge traffic represents the volume of data served directly from edge locations. This metric helps you understand:
- How much traffic is being offloaded from your origin server
- The effectiveness of your edge cache configuration
- Geographic patterns in content consumption
Shield Traffic¶
Shield traffic shows the volume of data served from shield caches, indicating:
- The effectiveness of your cache hierarchy
- Patterns in content that require origin fetching
- Opportunities to optimize shield cache configurations
Overall Traffic¶
Total traffic provides a complete picture of data delivery across your entire CDN infrastructure, combining both edge and shield traffic volumes.
Content Metrics¶
HTML Page Views¶
This metric tracks the number of HTML pages served, providing insights into:
- User engagement and site popularity
- Traffic patterns over time
- The effectiveness of HTML caching strategies
Images Optimized¶
Tracks the number of images processed through Peakhour's optimization engine, showing:
- The volume of image optimization activity
- Potential performance improvements from image processing
- The effectiveness of automated optimization features
Geographic Distribution¶
Hits by Point of Presence (POP)¶
The bar chart displaying hits by POP reveals:
- Which geographic regions generate the most requests
- Load distribution across your CDN infrastructure
- Opportunities to optimize POP configurations for better performance
Key insights:
- High-traffic POPs may benefit from additional cache optimization
- Uneven distribution might indicate routing optimization opportunities
- Geographic patterns can inform content strategy decisions
Traffic by Point of Presence¶
Traffic volume by POP shows the data transfer patterns across your CDN:
- Which POPs are handling the most data delivery
- Geographic patterns in content consumption
- Infrastructure utilization across different regions
Optimization Opportunities¶
Improving Cache Hit Rateos¶
- Increase cache TTL for static content that doesn't change frequently
- Optimize cache keys to reduce unnecessary cache misses
- Review cache bypass rules that might be preventing optimal caching
Balancing POP Load¶
- Analyze traffic patterns to identify overloaded or underutilized POPs
- Adjust routing policies to distribute load more evenly
- Consider content placement strategies for high-traffic regions
Origin Server Optimization¶
- Use cache hit rate data to reduce origin server load
- Identify content that frequently bypasses cache and optimize caching rules
- Plan origin capacity based on cache miss patterns
Performance Impact¶
Understanding these metrics helps you:
- Reduce latency by optimizing cache configurations
- Lower origin server costs by improving cache hit rates
- Improve user experience through faster content delivery
- Plan infrastructure based on traffic patterns and growth
Monitor these metrics regularly to maintain optimal CDN performance and identify opportunities for continuous improvement.