Nagling

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 your service's config file as follows:

<addkey="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 Kilo bytes. By default it is 500Kb. You can specify it in service's config file as follows:

<addkey="NCacheServer.NaglingSize" value="500"/>

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