• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Nagle's Algorithm

Nagling refers to concatenating a number of small buffer messages. It increases the efficiency of a network application system by decreasing the number of packets that must be sent. Nagling can be thought of as bulk operation on the network.

By default, Nagling is enabled. You can turn it off in NCache Service's config file as follows:

<add key="NCacheServer.EnableNagling" value="false"/>

Nagling combines all the available messages present in a queue whose combine size is less than Nagling threshold. Size is specified in terms of Kilobytes. By default, it is 500Kb. You can specify it in NCache Service's config file as follows:

<add key="NCacheServer.NaglingSize" value="500"/>
Note

If you are using cache as InProc, you need to specify the abovementioned lines of code in config.exe of your application.

See Also

Heartbeat
Bind Cluster and Client/Server IP with Multiple NICs
Communication Reliability
Dual Socket

Back to top Copyright © 2017 Alachisoft