Advanced Networking: HTTP/2, CDNs, and TLS
Lesson Promise
By the end of this lesson, you will understand how HTTP/2 multiplexing eliminates connection bottlenecks, how CDNs and anycast reduce latency by placing content closer to users, and how TLS 1.3 reduces handshake cost.
Narration Draft
Part 1 — HTTP/1.1 Limitations (4:00) Head-of-line blocking: one request at a time per connection. Text-based headers add overhead. Browser connection limits.
Part 2 — HTTP/2 Improvements (5:00) Binary framing layer. Multiplexing: multiple streams over one connection. HPACK header compression. Server push.
Part 3 — Connection Management (4:00) Connection pooling. Keep-alive reuse. TLS handshake cost. Why connection setup dominates first-byte latency.
Part 4 — CDNs and Anycast (5:00) CDN edge servers cache static content geographically. DNS directs users to the nearest edge. Anycast assigns the same IP to multiple servers; BGP routes to the nearest.
Part 5 — HTTP/3 and QUIC (4:00) QUIC over UDP combines transport and TLS handshake. Zero-RTT for returning clients. Eliminates TCP head-of-line blocking.
Visual Sequence
- HTTP/1.1 head-of-line blocking: multiple requests queued on one connection
- HTTP/2 multiplexing: interleaved frames from multiple streams on one connection
- CDN edge map: user → nearest edge server → origin
- Anycast BGP routing: same IP on three continents, packets route to the nearest
- TLS 1.3 vs 1.2 handshake comparison: 1 RTT vs 2 RTT
Companion Material
Related articles
CDNs and Anycast Routing
How content delivery networks place edge servers near users and how anycast uses BGP to route to the nearest replica.
HTTP/2 Multiplexing and Connection Management
How HTTP/2 fixes head-of-line blocking with binary framing and multiplexing, and why connection reuse matters for latency.
The Client-Server Model
How clients and servers communicate through requests and responses, and why the distinction matters for reliability, scaling, and security.
More in Networking
Networking From the Ground Up
A beginner-friendly walkthrough of what networks are, how packets travel through layers, and the difference between TCP and UDP.
DetailsNetworking Protocols: DNS, TCP, and TLS
Dive into how DNS resolves hostnames, how TCP establishes reliable connections, and how TLS encrypts data in transit.
DetailsThe Full Lifecycle of an HTTPS API Request
A planned visual lesson tracing one API call through DNS, transport, TLS, HTTP, edge routing, server code, and the response.
DetailsNew lessons by email
Get new articles and notes on the systems behind everyday software.
One technical dispatch per week. No noise.
Not started
Sign in to save your learning progress.