Skip to content
Commitwise
Menu

Head-of-line blocking

When the first item in a queue is slow and everything behind it has to wait.

Definition

In HTTP/1.1 a slow response blocks later requests on the same connection. HTTP/2 removed that by interleaving streams, but all streams share one TCP connection, which delivers bytes in order, so one lost packet still stalls every stream. HTTP/3 over QUIC delivers each stream independently.

In practice

On a lossy mobile link, a lost packet carrying image data delays an unrelated API response on the same HTTP/2 connection.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.