Try Playground
Show / Hide Table of Contents

Nagle's Algorithm

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.

Note

This feature is also available in NCache Professional.

Using Nagling Algorithm

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"/>
Note

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.

See Also

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

In This Article
  • Using Nagling Algorithm
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top