An Overview of the Nagle Algorithm for TCP Network Communication
It detects small-sized messages and accumulates those messages into larger TCP packets before sending data across the wire. This process avoids the generation of unnecessarily large numbers of small packets. The technical specification for the Nagle algorithm was published in 1984 asRFC 896. Lifewire / Bradley Mitchell Windows, Linux, and Java systems normally enable Nagle by default. Therefore, applications written for those environments need to specify TCP_NODELAY to switch the algorithm off....