Try
↑ ↓ move↵ openesc close

Interview prep / Connections and head-of-line blocking

Mid · Connections and head-of-line blocking · System design interview question

How does QUIC avoid transport-level head-of-line blocking?

Sketch your own answer first, then compare it with the one below.

A strong answer

QUIC runs over UDP and has streams built into the transport. Each stream has its own ordering and its own retransmission. When a packet is lost, only the streams whose data it carried wait. Data for other streams is delivered as soon as it arrives.

HTTP/3 maps HTTP onto QUIC streams. The stream that lost a packet still pays for the retransmit, so the cost is not zero. Other streams are no longer held back by it.

QUIC also combines the transport and TLS handshakes, so a new connection needs one round trip.

Sources

Learn it by running it

The connections and head-of-line blocking lesson explains the mechanism behind this question, and its lab lets you change the parameters and watch the effect.

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms