The short version

  • A TCP receiver may hold the acknowledgment for one ordinary in-order segment, so that a second segment — or an outbound application response — can share the cost of the feedback.
  • The wait is bounded. A second full-sized segment, timer expiry, or loss-related evidence releases an ACK before batching turns into silence with no control behind it.

The half-second a TCP receiver is allowed to keep

Somewhere between your server and your customer there is a silence that lasts less than half a second, and it is not a fault. It is a decision. A TCP receiver that has just accepted a perfectly good, in-order, full-sized segment is permitted to say nothing at all — to hold the acknowledgment, to let the sender wait a beat, and to spend that beat buying something more valuable than speed: fewer packets that carry nothing but good news.

That mechanism is TCP delayed acknowledgment, and its rule is far narrower than its reputation. A receiver may wait for a second segment, or for a timer. It may not wait indefinitely, and it may not wait at all when the segment it just received is evidence that something went missing. RFC 1122 drew the boundary in 1989, RFC 5681 sharpened it in 2009, and RFC 9293 restated it in 2022. The durable principle fits in one line: delayed ACK is bounded discretion — the receiver chooses when to speak, never whether the bytes arrived.

A receipt that arrives late is still a receipt

The first full-sized segment arrives in order. TCP accepts its bytes, advances the next sequence number it expects, and then — nothing. No ACK leaves. If a second full-sized segment follows, a single cumulative acknowledgment confirms both at once. If it does not, a timer ends the wait.

Nothing inside the receiver is uncertain about what arrived. Only the moment at which that arrival becomes visible to the sender has moved. That is the whole trick, and it is worth naming precisely, because the mechanism is routinely misdescribed as the receiver being slow. The receiver is not slow. It is batching.

Robert Braden and the 1989 rulebook that wrote the limit down

RFC 1122, the host requirements document Robert Braden edited in October 1989, is not a thrilling read. It is a building code, and building codes are read only when something catches fire. But buried in section 4.2.3.2 is one of the more consequential permissions in the protocol's history: a TCP should implement delayed acknowledgments, because fewer standalone ACK segments improve efficiency in both the hosts and the network.

The permission arrived with two limits attached, and they are the reason the mechanism never became a licence to go quiet. The delay must stay below half a second. And in a stream of full-sized segments, there should be an ACK at least every second segment. Braden's team did not hand receivers a mute button. They handed them a metronome.

The Telnet echo that justified the wait

What makes RFC 1122 worth reading today is that it bothered to explain itself — a rare and rather charming habit in a standards document. During character-mode remote login, the receiving application might consume the byte, update its window, and echo a character back. A short pause could fold an ACK, a window update and the reply into a single segment.

The receiver was not saving a header. It was giving nearby state changes a chance to travel together. Read that with 1989 eyes and the justification for delayed ACK was never really 'fewer packets.' It was 'more meaning per packet.'

Vern Paxson and the stretch ACK: when batching outgrows the rule

A decade later, RFC 2525 — the catalogue of known TCP implementation problems assembled by Vern Paxson and a group of co-authors — gave the failure mode a name. A stretch ACK is one acknowledgment that covers more than the expected two full-sized segments, because an implementation simply does not generate ACKs often enough.

The consequence is not a merely sparse packet trace. ACK arrival is the sender's control clock. Batch too aggressively and window growth slows, release becomes burstier, and the feedback loop that congestion control depends on starts running on stale information. The historical record is blunt about why the delay needed an observable boundary: without one, politeness quietly becomes a bottleneck.

RFC 5681 fixes the arithmetic and exposes an ambiguity

RFC 5681, published in 2009 by Mark Allman, Vern Paxson and Ethan Blanton, cleaned up the frequency rule. RFC 1122 had expressed the every-second-full-sized-segment requirement inconsistently; RFC 5681 states it unambiguously as a SHOULD and repeats the ceiling: waiting for the second segment must never exceed 500 milliseconds.

It also names a practical trap. A receiver can count two times its announced receive MSS, but the sender may transmit smaller segments because of a lower path MTU. Waiting for two receive-MSS units can therefore cover far more than two actual segments. The remedy is unglamorous and effective: acknowledge at least every second segment regardless of size, and stop letting arithmetic flatter you into thinking you have counted two.

When loss outranks politeness

The batching rule yields the instant the ACK would carry different operational evidence. A segment arriving above a gap should trigger an immediate duplicate ACK, so the sender can detect the missing data. A segment filling all or part of a gap should also trigger an immediate ACK. The receiver does not wait for prettier batching while loss recovery needs a current map of sequence-space progress.

This is the part of the design that deserves admiration. The receiver's discretion is real, but it is subordinate — it exists only where the evidence is uninteresting. The moment the evidence changes, the discretion evaporates.