TCP timeouts and fast retransmit
TCP keeps a smoothed estimate of the round-trip time and sets its timeout to that estimate plus four times its variation, and because a timeout is slow it also resends a segment as soon as three duplicate acknowledgements show that later data arrived without it.