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
Arslan Ahmad
Arslan Ahmad
ex-FAANG engineering manager and author or Grokking series.
-

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 clock skew and clock drift?
Who is the CEO of Cisco?
What is exit code 14 in MongoDB?
What is the most profitable tech job?
Who owns Atlassian?
What is Dell famous for?
Related Courses
New
Grokking the AI System Design Interview course cover
Grokking the AI System Design Interview
Learn to design AI systems the way interviewers expect: classic ML products, LLM and RAG architectures, and agentic systems, all through the lens of the system design interview.
4.8
(1,192 learners)
Discounted price for Your Region

$123

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.
4.1
Discounted price for Your Region

$72

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