What is Nagle Algorithm?

The Nagle algorithm says that when a TCP connection has outstanding data that has not yet been acknowledged, small segments (those smaller than the MSS[maximum size segment]) cannot be sent until all outstanding data is acknowledged. Instead, small amounts of data are collected by TCP and sent in a single segment when an acknowledgment arrives. This procedure effectively forces TCP into stop-and-wait behaviour—it stops sending until an ACK is received for any outstanding data.

Powered by Zendesk