Networking Essentials hard
What specifically causes TCP Head-of-Line (HOL) blocking?
- A The strict bandwidth limitations of the physical medium, which prevent multiple disparate data streams from being transmitted simultaneously across a single fiber-optic link.
- B TCP's guarantee of in-order delivery; if a single packet is lost, the kernel must buffer all subsequent data and refuse to release it until the gap is filled by a successful retransmission.
- C The inherent processing delay within intermediate routers, which must fully reassemble and inspect every packet before determining the most efficient path to the next hop.
- D The sequential nature of the standard SSL/TLS handshake, which prevents any application-layer data from being transmitted until the cryptographic key exchange is fully completed.
Answer: B. TCP's guarantee of in-order delivery; if a single packet is lost, the kernel must buffer all subsequent data and refuse to release it until the gap is filled by a successful retransmission.
HTTP/2 allows multiple 'streams' (e.g., an image, a script, and an API call) to share a single TCP connection. However, TCP sees this only as one big pipe of bytes that *must* arrive in order. If the packet containing the middle of the 'image' file is lost, TCP pauses the entire pipe. Even if the 'API call' data has arrived safely, the kernel won't show it to the application until the missing image packet is recovered. This is 'Head-of-Line Blocking'. QUIC (HTTP/3) solves this by using UDP; if one stream loses a packet, the other streams keep flowing independently, significantly improving performance on unreliable networks like mobile Wi-Fi.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is the downside of enabling 'Sticky Sessions' (Session Affinity) on a Load Balancer?
- In WebRTC (P2P Mesh), why is a STUN server required?
- What is the fundamental difference between a Network Switch and a Router?
- In Cloud Networking (AWS), what is the limitation of VPC Peering compared to a Transit Gateway?
- Which protocol is ideal for real-time multiplayer gaming positions or Voice over IP (VoIP), and why?
- What is the purpose of the 'Time To Live' (TTL) field in an IP packet?