architecture7 min read

Improving Smart Tiered Cache for Public Cloud Regions

6 similar posts
  • Smart Tiered Cache
  • Cloudflare R2
  • Cloudflare Load Balancing
  • AWS
  • GCP
  • Azure
  • Oracle Cloud
  • Terraform

AI Summary

Cloudflare has introduced Smart Tiered Cache for Public Cloud Regions, solving the challenge of routing traffic to origins hidden behind anycast or regional unicast public cloud load balancers. Traditionally, anycast front ends caused latency probes to register multiple data centers as equally close, leading to suboptimal upper-tier choices and cross-continent hairpinning. By allowing engineers to provide a cloud region hint via the dashboard, API, or Terraform, Cloudflare maps origins to the correct region. The system matches cloud provider IP ranges with continuous latency probing to elect optimal primary and fallback upper tiers, improving cache hit ratios and reducing latency.

Key Takeaways

  • Supports major public cloud providers including AWS, GCP, Azure, and Oracle Cloud.
  • Configuration can be managed via the Cloudflare dashboard, API, or Terraform workflows.
  • Uses automated cloud provider IP range ingestion paired with 15-minute latency probing updates.

Why it matters

Public cloud architectures heavily rely on anycast and regional unicast IPs, which historically broke single-tier caching efficiency and caused severe latency penalties via cross-continent hairpin traffic. This feature enables precise upper-tier routing for cloud-hosted origins by combining user-provided region hints with automated IP range matching and latency voting.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.