Question

Difficulty: HardConnection-Oriented vs Connectionless Protocols

A network engineer is troubleshooting performance degradation in a real-time voice and video collaboration tool deployed across an enterprise WAN link with a 2% packet loss rate. Testing shows that when using TCP for streaming media, audio output suffers from severe stuttering and growing latency spikes. Switching the stream to UDP resolves the latency spikes, allowing minor packet loss without blocking the media pipeline. Which characteristic of connection-oriented protocols causes the severe latency spikes observed during packet loss under TCP?

  1. TCP relies on cumulative acknowledgments and in-order byte streaming, causing head-of-line blocking in the receiver buffer while waiting for missing segment retransmissions.Answer
  2. B
    TCP operates at Layer 3 of the OSI model, forcing every intermediate router to perform connection handshake renegotiations upon packet loss.
  3. C
    UDP provides dynamic windowing and flow control mechanisms that automatically drop delayed frames at the sender to maintain real-time synchronization.
  4. D
    UDP uses a 20-byte header containing mandatory SYN/ACK flags that reduce per-packet payload overhead compared to TCP's 8-byte header structure.

Answer

TCP's reliance on cumulative acknowledgments and in-order byte streaming causes head-of-line blocking, forcing the receiver buffer to delay processing subsequent packets until missing segments are retransmitted.
TCP is a connection-oriented protocol that guarantees delivery and strict ordering. When packet loss occurs on a network link, TCP's receiver buffer experiences head-of-line blocking, where correctly received subsequent packets cannot be passed to the application until the missing segment is retransmitted and acknowledged. In real-time voice and video streams, this delay causes severe latency spikes and stuttering.

Step-by-Step Solution

1
Identify the protocol requirements for real-time streaming traffic versus bulk data transfer.
Real-time voice and video streams prioritize low latency and continuous timing over 100% data reliability.
Late packets in real-time media are useless because the playback point has already passed.
2
Analyze how TCP handles packet loss in connection-oriented transport.
TCP enforces reliable, in-order delivery. When a packet is lost, TCP holds subsequent out-of-order packets in the receiver queue and requests retransmission.
This behavior is known as head-of-line blocking, which introduces variable delays (jitter) and latency spikes.
3
Compare TCP's behavior with UDP connectionless transport.
UDP transmits datagrams independently without sequence tracking or retransmission requests. Dropped packets are simply omitted without halting the stream.
This allows UDP to maintain predictable, low-latency playback suitable for real-time applications.

Key Concept

Connection-Oriented vs Connectionless Transport Behavior
Estimated Time:1m 30s
Rate this question