Inspirel banner

Programming Distributed Systems with YAMI4

4.3.5 TCP No-Delay

The Nagle algorithm was introduced in networking to reduce the traffic of small packets in wide area networks. This algorithm was helpful for terminal-based applications, but is not appropriate for low-latency systems intended for use in local-are networks.

This flag allows to control whether the Nagle algorithm is applied for package grouping in TCP connections. The default value means that the Nagle algorithm is suppressed - that is, that no delay is applied to achieve package grouping. This is recommended setting for local area networks.

Property name: "tcp_nodelay".

Property type: boolean.

Default value: true.