Proxies & Content Delivery Networks (CDN)
Forward vs. Reverse Proxies and serving static or dynamic assets from global Edge Points of Presence (PoPs)
Difficulty: Beginner · Read time: 7 min · Access: Step-1 Preview + Knoera Pro
How It Works
A Forward Proxy sits in front of clients (hiding client IP addresses and enforcing corporate/egress rules). A Reverse Proxy sits in front of backend servers (handling Transport Layer Security / Secure Sockets Layer — TLS/SSL termination, compression, caching, and Distributed Denial of Service — DDoS protection). A Content Delivery Network (CDN) is a globally distributed fleet of reverse-proxy Edge Points of Presence (PoPs) that cache content physically close to end users.
Why It Matters
Fetching a `2 MB` hero image or JavaScript (JS) bundle across an 8,000-mile Wide Area Network (WAN) link costs `160+ ms` per round trip and burns expensive Origin egress bandwidth. A CDN serves that asset from a local Edge PoP in `12 ms` while offloading 95%–99% of Origin traffic.
Interactive Architecture Scenarios
- Pull CDN: Cache Miss -> Edge Hit
- Failure Mode: Cache Stampede & Stale Unhashed Assets