Nagle's algorithm coalesces small writes while data are unacknowledged, permitting another send when a full TCP segment can be formed or the outstanding data have been acknowledged. It reduces tiny transmissions but can add delay.
Articles by others on the same topic
Nagle's algorithm is a network optimization technique designed to improve the efficiency of TCP/IP networks by reducing the number of small packets sent over the network. It was developed by John Nagle in 1984. ### Purpose The algorithm aims to solve the problem of sending small packets or "tinygrams," which can lead to inefficiencies when a large number of small packets are transmitted over a network.