Skip to the content.

TCP Nodelay (Nagle’s Algorithm)

Instroduction

The TCP_NODELAY option disables Nagle algorithm.

Nagle’s algorithm works by combining a number of small outgoing messages and sending them all at once. It was designed to solve “small-packet problem”.

See TCP_NODELAY - tcp(7) - Debian Manpages.

Original algorithm was described in RFC 896 - Congestion Control in IP/TCP Internetworks (1984.1).

Python Examples or Recipes

References