comparison Delivery & performance
QUIC streams versus transport head-of-line limits
A gap in QUIC stream A need not delay received bytes on stream B. Compare that with one ordered TCP byte stream, then see why both streams still draw on the same budget for new sends.
What it means
QUIC can deliver stream B’s next bytes even while stream A is missing earlier bytes. Each stream has its own delivery order. By contrast, when A and B share one TCP connection, a gap in its single byte sequence holds up everything after the gap, even data that has already arrived. That wait for earlier bytes is called head-of-line blocking.
QUIC separates delivery order, not sending capacity. Streams using the same connection and path still share a congestion window: room to send new data is not reserved separately for A and B.
Try it
Simulation. Start with Missing earlier bytes set to A. Later data from both streams is already at the receiver. Change only Multiplexed transport from quic to tcp. Look at two results for B: whether its received bytes are eligible for delivery and how many units of new data the sender allocates to it.
QUIC streams versus transport head-of-line limits
Show difference between stream-level independence and shared congestion constraints
Report ordered delivery gaps separately from shared ordinary-send capacity.
Already received later data
- Transportquic
- Stream Await for missing bytes
- Stream Beligible
Allocation order A then B
- Ordinary credit3
- Remaining0
A receive-side gap and ordinary-send congestion credit answer different questions. Eligible delivery does not promise that new bytes can be sent.
Evaluated inputs
- Required scenario evidence
- provided
- Missing earlier bytes
- A
- Multiplexed transport
- quic
- Shared congestion window
- 8 units
- Outstanding bytes in units
- 5 units
- New data requested by stream A
- 2 units
- New data requested by stream B
- 3 units
One ordered missing interval per affected stream, TCP gap precedes both later frames. Delivery refers to already received later data; send allocation is independent and uses A-first policy only. Units represent equal byte quantities; no recovery, retransmission, pacing, PTO exceptions, stream flow control or connection migration. Ordinary congestion credit not a full sender model.
About this model
The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.
Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.
| With the gap in A’s data | QUIC | TCP |
|---|---|---|
| Later A bytes at the receiver | Wait for missing bytes | Wait for missing bytes |
| Later B bytes at the receiver | Eligible | Wait for missing bytes |
| New data allocated to A | 2 units | 2 units |
| New data allocated to B | 1 unit | 1 unit |
Only B’s delivery result changes. In the TCP example, the gap comes before both streams’ later data in TCP byte order. In QUIC, the missing bytes belong to A, and B has no gap of its own.
The sender does the same arithmetic in both cases. The window is 8 units, with 5 already in flight, leaving 3 units for ordinary new sends. A requests 2 units and B requests 3. The simulation allocates to A first, so A gets 2, B gets 1, and 0 remain. A can receive an allocation even though its earlier bytes are missing at the receiver. A-first is a rule of this example, not a QUIC priority rule. Reset restores QUIC, the A-only gap, and all the starting values.
When both QUIC streams wait
A packet and a stream are different things. A single QUIC packet can carry a STREAM frame containing bytes for A and another containing bytes for B. With QUIC selected, change Missing earlier bytes to both. If that packet contained the next bytes needed on each stream, later bytes on both streams must wait. B is not waiting for A; B now has its own gap. The ordinary send allocation remains 2 units for A and 1 for B.
The reverse is possible, too. Set the missing bytes to none, keep the window at 8 units, and set outstanding data to 9 units. Both streams’ received bytes are eligible for delivery, but the sender has 0 units of ordinary credit. Credit stops at zero rather than becoming negative. A full window does not make the receiver withhold bytes it can already deliver in order.
Keep the original QUIC gap in A, but change the outstanding data to 9 units while the congestion window stays at 8. B's already received later bytes remain eligible for delivery. Ordinary credit is now zero, so neither stream obtains a new allocation in this fixture. Outstanding data exceeding a reduced window is not an invalid input. A receiver can make progress on previously received data while the sender cannot add an ordinary new flight.
In practice
When a transfer appears to stall, first ask whether the bytes in question have arrived. For data already at the receiver, identify the missing range and which stream needs it. Knowing only that a packet was lost does not tell you whether A, B, or both must wait. Even an eligible result means only that the modeled transport gap does not prevent delivery; the application may still depend on other data.
For data still to be sent, compare the congestion window with the amount in flight on that path. The credit bar is a byte budget, not a clock: it neither measures round-trip time (RTT) nor detects loss. The corrected QUIC RTT-variation calculation uses the prior smoothed RTT; this simulation calculates neither value. It also leaves out recovery, retransmissions, pacing, probe-timeout exceptions, stream flow control, and connection migration. If required scenario evidence is missing, the result is unknown, not zero credit or proof of a gap.
Use the position of a gap to explain which received bytes must wait. Use the shared path budget to explain how much new data the sender can allocate. Independent delivery order answers the first question without promising independent sending capacity.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Can a QUIC stream block itself?
Yes. Ordered delivery on that stream may wait for its missing range even if later bytes arrived.
Can one lost QUIC packet affect multiple streams?
Yes. A packet may carry STREAM frames from several streams. Loss can delay each affected stream; unrelated streams need not wait for those bytes.
Do streams have independent congestion windows?
Not in this fixture. Both ordinary-send allocations consume one shared connection budget. An already received B interval can be eligible for delivery while the shared ordinary-send budget is zero.
Does UDP alone remove ordering problems?
No. QUIC supplies stream reliability and ordering itself. Application dependencies can also make one stream wait for another.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- RFC 9000: QUIC: A UDP-Based Multiplexed and Secure Transport
2,13. A QUIC packet may contain data for multiple streams. Missing bytes can delay each affected stream while unaffected stream data can progress.
Checked .
- RFC 9002: QUIC Loss Detection and Congestion Control
7. QUIC congestion accounting and in-flight limits affect sending. PTO uses RTT estimates, variation and eligible ACK delay with backoff; the lab's credit examples are bounded.
Checked .