Packet Loss and Network Degradation

Distinguish packet loss from latency using retransmission metrics and MTU diagnostics.

Overview

Overview

Packet loss is deceptive because TCP hides it: applications rarely see errors, only lower throughput and higher latency while TCP retransmits and shrinks its congestion window. A 1% loss rate can cut TCP throughput by up to 50% on high-bandwidth connections, so the app works but is slow with nothing obvious to trace.

The chain from a dropped packet to a slow app has three links. Dropped packets trigger TCP retransmits and timeouts. The retransmits make TCP shrink its congestion window, the amount of data it sends before waiting for an acknowledgment. And the application sees slow transfers but no error.

Key concepts

  • TCP Retransmission
  • Path MTU Discovery (PMTUD)
  • Stateful vs Stateless Firewall
  • Jumbo Frames
  • ENA (Elastic Network Adapter)

Interview questions

  • A service running on EC2 can reach an external API for small requests but hangs or times out when sending payloads larger than about 1400 bytes. Small GET requests work fine. What is the likely cause and how do you verify?

Sign up free to read the full topic

More Troubleshooting topics

Start free on Cariara · Coding problems · System design studio