Fast Retransmit, RTO & Recovery
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
Waiting for a full timeout after every loss would waste an entire RTT or more. TCP uses duplicate acknowledgments to detect a single missing segment quickly and reserves the timer for harder failures.
On the wire
Three duplicate ACKs imply later segments arrived, so the sender retransmits the missing segment and enters fast recovery instead of restarting slow start. If no ACK arrives at all, the retransmission timeout fires, the congestion window is reset, and backoff doubles the next timeout.
When it breaks
Reordering can create three duplicate ACKs without a loss, triggering an unnecessary retransmission. Multiple losses in one window may not produce enough duplicate ACKs, so the sender falls back to RTO and throughput drops sharply.
Timers & acknowledgments
Advance the event timeline to see RTT samples, duplicate ACKs and retransmission behavior.
SRTT is updated with exponential weighting
Caps bytes in flight regardless of congestion window
The gap is reported by repeated ACKs for the missing byte until the sender reacts.