Core Concept

CDN, Edge Caching, and Content Delivery

CDNs are the frontline of latency-sensitive systems, acting as a global caching shield that handles up to 99%+ of user request volumes.


What:

CDN (Content Delivery Network) is a globally distributed system of proxy servers and caching caches.

Primary purpose:

Serving static and semi-dynamic data with sub-millisecond latency by shifting storage closer to users.

Usually used for:

Static asset delivery (JS, CSS, images), video segment streaming, API acceleration, and DDoS protection.

How should I think about this inside system architectures?

🚀 Push Content Closer

Physically reduce the distance packets travel to minimize physical round-trip times (RTT).

💾 Trade Storage for Latency

Replicate storage capacity globally across hundreds of edge locations to bypass origin lookup times.

🛡️ Reduce Origin Pressure

Serve as a defensive shield that absorbs 99%+ of read traffic, preserving central API servers and databases.