Content Delivery Networks
Edge caching, origin offload, spike absorption and dynamic content.
8 to work through
-
intermediate
A social platform serves large volumes of user-generated media with an extremely skewed popularity distribution and a cost-sensitive business. How should the delivery path be designed?
2 min answer -
intermediate
You put a CDN in front of your site. Cache hit rate is 12%. Origin load is barely reduced. Why?
2 min answer -
advanced
A design platform's shared template suddenly goes viral, and one asset receives millions of requests within minutes. How should CDN caching, origin shielding, request collapsing, stale-while-revalidate and cache warming work together?
3 min answer -
advanced
A media company plans a global live event and its CDN partner cannot guarantee capacity in one region. How should multi-CDN steering, origin shielding and per-region bitrate caps combine — and how do you prevent steering oscillation?
2 min answer -
advanced
A video platform receives a viral upload generating millions of playback requests within minutes. How should edge caching, origin shielding, cache warming, request collapsing, transcoding priority and storage access interact?
2 min answer -
advanced
After a content purge, your origin receives 400× normal traffic and falls over. The CDN is working as configured. What is missing and how do you fix it?
2 min answer -
advanced
Design the playback path for a global video streaming service. What are the architecturally significant decisions?
2 min answer -
advanced
Netflix places Open Connect appliances inside ISP networks and pre-positions content onto them during off-peak hours. Why is this fundamentally different from a conventional pull-through CDN, and what does it require from the content catalogue?
2 min answer
6 terms in this topic
Cache-Control
The HTTP header directing how a response may be cached and for how long, by browsers, proxies and CDNs.
patternContent Pre-Positioning
Pushing predicted-demand content to edge caches during off-peak hours rather than fetching it on first request, converting an unpredictable peak-time…
practiceContent Purge Path
A separate, fast, fail-closed mechanism for removing content from every cache tier, which is what allows long TTLs everywhere else without making rem…
case-studyGlobal Map Serving: Precomputed Tiles at Planet Scale
Rendering a map view on demand is impossible at global scale, so the world is precomputed into a pyramid of cacheable tiles addressed by coordinate a…
practiceOrigin Shield
An intermediate cache tier between edge locations and origin, so that hundreds of simultaneous edge misses become a handful of origin requests.
patternProgressive Media Materialisation
Generating only a baseline media rendition on upload and producing higher-quality variants on first demand - trading a slower first view of unpopular…
Neighbouring topics
Networking
General material on the network path underneath an architecture.
TCP/IP
Handshakes, congestion control, head-of-line blocking and connection reuse.
HTTP/1.1, HTTP/2 & HTTP/3
Multiplexing, prioritisation and the transport each is built on.
DNS
Resolution, TTL behaviour, traffic steering and failover latency.
TLS & Certificates
Encryption, integrity, authentication, termination points and expiry.
Layer 4 vs Layer 7
Connection-level versus request-level balancing, and what each unlocks.
Reverse Proxies
One place for TLS, routing, caching, compression and rate limiting.
Firewalls & Security Groups
Default-deny, stateful rules, and restricting egress as well as ingress.
NAT & Egress
Outbound-only connectivity, its per-gigabyte cost and its zone binding.
VPC Design
Address planning, peering and the ranges you can never resize.
Subnetting
Tiering, zone binding, and sizing for an address-hungry platform.
Routing & BGP
How traffic finds you, anycast, and route withdrawal as a failure mode.
Service Mesh Networking
Sidecar proxies supplying mTLS, retries and traffic policy.
WebSockets & Realtime
Persistent bidirectional connections and the capacity model they impose.
gRPC Transport
HTTP/2 multiplexing, binary encoding and streaming semantics.
API Gateways
The single entry point, and the business logic that must stay out of it.
Network Performance
Latency floors, bandwidth-delay product, and what no code change fixes.
Private Connectivity
Private endpoints, peering and dedicated links to managed services.
Network Troubleshooting
Flow logs, packet paths, and localising a problem to a hop.