Nagling refers to concatenating several 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 a 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 combined size is less than the Nagling threshold. Size is specified in terms of Kilobytes. By default, it is 500 Kb. You can specify it in NCache Service's config file as follows:
<add key="NCacheServer.NaglingSize" value="500"/>
If you are using cache as InProc, you need to specify the lines of code mentioned above in the config.exe file of your application.