Connections Manipulator runs only on the dispatcher nodes of the cluster because its function is client connection management. It supports TCP and UDP connections.
Connections Manipulator runs in the follwoing modes:
Connections Manipulator supports both TCP and UDP connections. These two kinds of connection objects are stored in separate pools. The properties of these pools can be set by the system administrator.
|
Dispatcher |
|
Property |
Description |
Default Value |
|
|
|
MaxSoTimeOutConnections |
Specifies the maximum number of connections for Mode 1. |
100 |
MaxThreadRepeatCount |
Specifies the maximum number of connections each thread can process. |
700 |
MaxRepeatConnections |
Specifies the maximum number of connections for Mode 2. |
3500 |
MinSoTimeOut |
Specifies the minimum value of socket timeout in milliseconds.
|
1000 |
MaxSoTimeOut |
Specifies the maximum value of socket timeout in milliseconds. |
30000 |
TCPMinPoolSize |
Specifies the minimum size of the pool for TCP connections.
|
100 |
TCPMaxPoolSize |
Specifies the maximum size of the pool for TCP connections. |
500 |
TCPIncreasePoolSize |
Specifies the step value at which the pool for TCP connections is changed. |
50 |
UDPMinPoolSize |
Specifies the minimum size of the pool for UDP connections. |
100 |
UDPMaxPoolSize |
Specifies the maximum size of the pool for UDP connections. |
500 |
UDPIncreasePoolSize |
Specifies the step value at which the pool for UDP connections is changed. |
50 |
|
|
|
../cluster/dispatcher/managers/settings/ConnectionsManipulator.properties
Connections Manipulator properties specified in the
Visual Administrator
section can be set from this property file as well.
When setting the Connections Manipulator properties, two key factors must be taken into consideration: the communication protocols used by the clients that connect, and the frequency of requests. These settings are specific for each particular situation, and it is up to the system administrator to configure them to achieve the optimal solution.
When Connections Manipulator is running in Mode 1, the system administrator must pay attention to the maxSoTimeOutConnections property setting. As it uses Thread Manager, and each connection is associated with one thread, the maximum number of connections must be approximately equal to the number of threads in Thread Manager. Otherwise, performance deteriorates severely.