Head-of-Line Blocking Across Queues and Streams

Diagnose when ordered delivery of unrelated work depends on an earlier missing or unserviceable item.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. A single waiting item can hold completed work behind it
  2. Separate ordering where independence is allowed

A single waiting item can hold completed work behind it

Imagine two application responses interleaved into one ordered byte stream. The receiver may already possess bytes of the second response, but a missing earlier interval can stop the transport from delivering beyond the gap. The response itself is ready at one layer and blocked by the delivery contract at another. A strict FIFO queue can show a similar effect when its first item waits on a destination while later items are otherwise serviceable.

Separate ordering where independence is allowed

Multiple ordered streams can preserve per-stream requirements while permitting another stream’s available bytes to be delivered. Shared congestion, flow control, and application dependencies still limit progress. QUIC multiplexing gives one protocol example. TCP byte ordering explains why application framing alone cannot remove the transport-level gap.[1]

References

  1. Larry Peterson and Bruce Davie, Computer Networks: A Systems Approach ↩