All problems
Advanced·⚙️ Infrastructure·Cloudflare · Akamai · Amazon CloudFront

Design
Content Delivery Network (CDN)

Design a CDN that caches and serves static content from edge locations close to users, with origin fetch and cache invalidation.

#Distributed Systems#Caching#Networking
Start Solving 6F + 3NF requirements inside

01 -  Why interviewers ask this

It tests edge-caching and invalidation strategy — interviewers specifically probe how you avoid a "thundering herd" hitting origin servers on a cache miss.

02 -  Where this system exists in the real world

You interact with this design every day.

Cloudflare / Akamai / CloudFront CDN infrastructure

Video/image asset delivery at global scale

Static site and API response caching

03 -  What you'll master

Solve this once. Know it forever.

01

Design edge caching with regional tiers

02

Solve cache invalidation without a global broadcast

03

Protect origin servers from traffic spikes

04 -  What you'll design

6 functional · 3 non-functional requirements.

Route a user request to the nearest/best edge server

5 more requirements inside

Sign in to unlock the full brief and start designing

Unlock Requirements

05 -  Companies that ask this

You may face this exact question in your next interview.

C
Cloudflare
A
Akamai
A
Amazon CloudFront

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.

Start Solving