# CDN & Edge Computing

> How does a CDN work? When would you use edge computing vs a centralized server?

Canonical: https://www.internhack.in/learn/interview/system-design-interview/sd-cdn
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

How does a CDN work? When would you use edge computing vs a centralized server?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

CDN, Edge Caching, Cache Invalidation, DNS Routing, Static Assets

Previous: [Design a Logging & Monitoring System](https://www.internhack.in/learn/interview/system-design-interview/sd-logging) · Next: [Design a Task Queue System](https://www.internhack.in/learn/interview/system-design-interview/sd-task-queue) · [All of System Design Basics](https://www.internhack.in/learn/interview/system-design-interview)

## More System Design Basics questions

- [Event-Driven Architecture](https://www.internhack.in/learn/interview/system-design-interview/sd-event-driven)
- [Design a Video Streaming Service](https://www.internhack.in/learn/interview/system-design-interview/sd-video-streaming)
- [Service Discovery & Registry](https://www.internhack.in/learn/interview/system-design-interview/sd-service-discovery)
- [Circuit Breaker Pattern](https://www.internhack.in/learn/interview/system-design-interview/sd-circuit-breaker)
- [Design a Ride-Sharing Service](https://www.internhack.in/learn/interview/system-design-interview/sd-ride-sharing)
- [Data Replication & Consistency](https://www.internhack.in/learn/interview/system-design-interview/sd-data-replication)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [System Design Basics](https://www.internhack.in/learn/interview/system-design-interview)
