Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M0681

Head-of-Line Blocking

Head-of-Line Blocking
TechnicalHigh supportComputer Science
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Head-of-line blocking (HOL blocking) is a performance-limiting phenomenon in computer networking. It occurs when the first packet in a queue (the head) is blocked, causing the entire queue of packets to be blocked. This can happen in switches with buffered inputs, due to out-of-order transmission, or in HTTP pipelining with multiple requests.

Definition

In a queue of packets, if the first packet is slow to process, all subsequent packets (even if they are destined for different places) are blocked. Scaffold use: Identify process bottlenecks. Check your task list. Is it because you need to "reply to a difficult email" (the head) in the morning, causing simple tasks like "take out the trash" and "fill out forms" to be stuck? Move the difficult task out of the queue and handle it separately, using multiplexing.

How to use

Identify process bottlenecks. Check your task list. Is it because you need to "reply to a difficult email" (the head) in the morning, causing simple tasks like "take out the trash" and "fill out forms" to be stuck? Move the difficult task out of the queue and handle it separately, using multiplexing.

Mechanism

The first task in a queue is slow or blocked, causing subsequent tasks that could otherwise proceed to be stuck, reducing overall throughput.

Practice

In progress 0/3

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • HTTP/1.1 head-of-line blocking on a single connection; a supermarket single checkout counter where one person's change delays the entire queue.

Common pitfalls

  • Assuming that 'queuing is efficient' and ignoring that a slow head element can drag down the entire chain.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E9%98%9F%E5%A4%B4%E9%98%BB%E5%A1%9EZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS