Mock Interviewer
Ask Coach
Tap a question to start, or type your own below.
CDN System Design
Visual Problem Diagram

Scenario
A trailer drop spikes 8 Tbps at the edge; origin would melt without cache hit ratio > 95% and shield POPs. One bad Cache-Control header caches a personalized API response for every user in Europe—the interview is caching semantics, invalidation, and origin protection, not listing CDN vendor names.
Design a content delivery network that caches static and streaming content at edge locations close to users. Success is hit ratio, origin protection, and correct cache semantics—not POP count alone.
You should support edge caching, DNS-based routing, origin pull, invalidation, and HTTPS. Be ready to explain cache keys, TTL strategy, shield tiers, and video segment caching.
Constraints
Edge cache static/video, DNS geo routing, origin pull, purge/invalidation, HTTPS at edge
> 95% cache hit for static, < 50 ms edge latency p95, protect origin from stampede, global availability
Tbps peak egress, millions of assets, billions of requests/day, thousands of POPs
Stages ahead
Log in to start practicing
Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.