Design a CDN / Edge Caching System

Problem

Design Akamai's core competency: a CDN with edge caching serving content globally with high cache-hit ratios.

Requirements

Functional:

  • Cache content at edge PoPs near users
  • Validate and refresh on expiry
  • Purge/invalidate content
  • Origin failover

Non-functional:

  • Trillions of requests/day
  • Low latency, high hit ratio
  • Resilient to origin failures

Discussion points

  1. Edge PoP + tiered caching
  2. Cache key and TTL strategy
  3. Cache invalidation/purge propagation
  4. Origin shielding and failover
  5. Handling cache misses and validating headers
added …
LeaderboardSalaryAccount