Code Room
System designMediumsd-p030
Subject Storage cdnLevel Senior~45 minCommon in Storage & CDN interviewsIndustries Technology, Software development

Question

Design a content delivery network (CDN) layer for a high-traffic site: serve assets close to users, keep caches fresh, and handle invalidation.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts — data model, bottlenecks, consistency, failure modes — and name the trade-offs you are making.

Narrate your design
Loading whiteboard…
Run or narrate your approach, then ask the coach.