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
How to crack your pm interview?
What are the best interview questions for tech roles for freshers?
How do you introduce yourself in a mock interview?
Is CrowdStrike laying off employees?
Explain Multi-cloud vs Hybrid Cloud.
Learn the difference between multi-cloud and hybrid cloud, when to use each, their trade-offs, and pitfalls. Perfect for system design interviews and cloud strategy prep.
Explain Nginx vs Envoy.
Compare Nginx vs Envoy for system design interviews and real-world use. Learn use cases, trade-offs, examples, and interview prep tips to master system design.
Related Courses
Course image
Grokking the Coding Interview: Patterns for Coding Questions
Grokking the Coding Interview Patterns in Java, Python, JS, C++, C#, and Go. The most comprehensive course with 476 Lessons.
4.6
Discounted price for Your Region

$197

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

$78

Course image
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

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