Head-of-Line Blocking
ELI5 — The Vibe Check
Head-of-Line Blocking is when one slow request blocks everything behind it, like a slow car in a single-lane tunnel. In HTTP/1.1, one slow response blocks the entire connection. HTTP/2 fixes it at the HTTP level, and HTTP/3 fixes it at the transport level too. It's the traffic jam of the internet.
Real Talk
Head-of-line (HOL) blocking occurs when a single delayed packet or request prevents subsequent items from being processed. HTTP/1.1 suffers at the application layer (pipelining). HTTP/2 solves application-layer HOL blocking but TCP still has transport-layer HOL blocking. HTTP/3 (QUIC/UDP) eliminates both.
When You'll Hear This
"HTTP/2 solved HOL blocking at the HTTP layer, but one lost TCP packet still stalls all streams." / "HTTP/3 uses QUIC to eliminate HOL blocking entirely — each stream is independent."
Related Terms
HTTP/3 Features
HTTP/3 ditches TCP for QUIC (built on UDP), which means no more head-of-line blocking, faster connections, and built-in encryption.
Multiplexing
Multiplexing sends multiple requests over a single connection simultaneously.
QUIC (Quick UDP Internet Connections)
QUIC is Google's invention that takes the speed of UDP and adds the reliability of TCP, all while encrypting everything.
TCP (Transmission Control Protocol)
TCP is like sending a package with delivery confirmation.