Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 19s8 days 9 hours 54 minutes 19 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 19s8 days 9 hours 54 minutes 19 seconds.

Sign in to watch this lesson
TCP · 3:52
TCP's timer is slow, so it leans on its ACKs instead: a cumulative ACK forgives a lost one, and three duplicate ACKs trigger a resend before the timer fires (K&R's figures, and this Mac's kernel uses the same threshold). Then the classic trap from practice: Nagle's algorithm plus a delayed ACK can stall a write-write-read exchange for about 40 ms on Linux. We measure the pattern on this Mac's loopback with and without TCP_NODELAY and report honestly what macOS shows.