What Is Head-of-Line Blocking?

Head-of-line blocking (HOL) is a performance bottleneck where the first item in a queue holds up everything behind it.

When to use/Use Cases

In a network switch, one stuck packet stalls all behind it. In HTTP/1.1, one slow response blocks every request on the same connection.

Example

Think of a one-lane road: if the first car stops, everyone behind must wait.

*Want to go deeper?

Explore Grokking System Design Fundamentals, Grokking the System Design Interview, or Mock Interviews with ex-FAANG engineers to prepare effectively.*

Why Is It Important

HOL blocking reduces throughput and increases latency. For example, in networking, switches may only achieve ~60% of their expected capacity. In web systems, it slows page loads and hurts user experience.

Interview Tips

Explain what HOL blocking is, give a simple analogy, and highlight how newer protocols like HTTP/2 (multiplexing) and HTTP/3 (QUIC) reduce or eliminate it.

Trade-offs

Mitigating HOL blocking often requires parallelism—like multiple queues in switches or multiplexing streams in HTTP/2. This improves performance but increases design complexity.

Pitfalls

Don’t assume it’s “solved.” HTTP/2 fixes it at the application layer, but HOL blocking still exists at the TCP layer. Only HTTP/3 with QUIC eliminates it entirely.

TAGS
System Design Interview
System Design Fundamentals
CONTRIBUTOR
Design Gurus Team
-

GET YOUR FREE

Coding Questions Catalog

Design Gurus Newsletter - Latest from our Blog
Boost your coding skills with our essential coding questions catalog.
Take a step towards a better tech career now!
Explore Answers
What is the dress code for Coinbase?
What is the difference between Batch Processing and Stream Processing?
What is the pay scale for OpenAI?
What are the top system design interview questions for PayPal interview?
Who owns Dell?
Who is eligible for Pinterest?
Related Courses
Grokking the Coding Interview: Patterns for Coding Questions course cover
Grokking the Coding Interview: Patterns for Coding Questions
The 24 essential patterns behind every coding interview question. Available in Java, Python, JavaScript, C++, C#, and Go. The most comprehensive coding interview course with 543 lessons. A smarter alternative to grinding LeetCode.
4.6
Discounted price for Your Region

$197

Grokking Modern AI Fundamentals course cover
Grokking Modern AI Fundamentals
Master the fundamentals of AI today to lead the tech revolution of tomorrow.
3.9
Discounted price for Your Region

$72

Grokking Data Structures & Algorithms for Coding Interviews course cover
Grokking Data Structures & Algorithms for Coding Interviews
Unlock Coding Interview Success: Dive Deep into Data Structures and Algorithms.
4
Discounted price for Your Region

$78

Design Gurus logo
One-Stop Portal For Tech Interviews.
Copyright © 2026 Design Gurus, LLC. All rights reserved.