Skip to main content

Use of Nagle Algorithm

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker
  • Product Version: 5.x and above
  • Product Component: Connection Management
  • Platform/OS Version: all

How to use Nagle algorithm with VisiBroker on Server/Client-side ORB when there is congestion?

Resolution:

Using the following VisiBroker properties to enable or disable the Nagle algorithm:

  • Server-side ORB: vbroker.se.<se_name>.scm.<scm_name>.connection.tcpNoDelay
  • Client-side ORB: vbroker.ce.iiop.connection.tcpNoDelay

When set to "true", the network connections will send data immediately. When set to "false", the network connections will send data in batches, as the buffer fills.

Note: The Nagle algorithm is used to automatically concatenate a number of small buffer, messages; this process (called nagling) increases the efficiency of a network application system by decreasing the number of packets that must be sent.


#VisiBroker
#connection
#tcp
#Security
#Performance
#tcpNoDelay