Nagle's Algorithm Setting
Nagling is a technique used to combine multiple small buffered messages into a single larger message. This improves the efficiency of network communication by reducing the number of packets sent over the network. In essence, Nagling performs a batching operation for network messages.
Using Nagling Algorithm
Nagling is enabled by default in NCache. You can disable it through the NCache Service's config file as follows:
<add key="NCacheServer.EnableNagling" value="false"/>
Nagling groups together all messages in a queue whose combined size is smaller than the configured Nagling threshold. The size is specified in kilobytes (KB), and the default value is 500 KB. You can specify it in NCache Service's config file as follows:
<add key="NCacheServer.NaglingSize" value="500"/>
See Also
Heartbeat
Bind Cluster and Client/Server IP with Multiple NICs
Communication Reliability
Dual Socket