Connection Configuration Parameters
Parameter | Default | Description |
---|---|---|
Size_of_Connection_Pool | 300 | Maximum number of connections in the persistent connection pool per session. The valid value range of this property is between 1-300. Connections in the pool can be active or waiting, TCP or SSL. A connection is created as needed, and the pool scales as needed. The pool starts at size zero (0), and can grow to the value set here. Once the pool is full, new connection requests must wait for an existing connection to close. Connection pooling is configured for a client session on per server basis. The size of the pool applies to each client-session for a server, it is not a total value for a CipherTrust Manager or for a load balancing group. Regardless of your setting, the pool will always have at least two (2) connections per NAE Server. The larger your connection pool, the less likely your client will get a failed connection request. |
Load_Balancing_Algorithm | round-robin | Type of load balancing. Use this value if you are load balancing across multiple NAE servers. Valid value: round-robin - Directs the connection to a randomly selected member of the load balancing group. |
Connection_Idle_Timeout | 600000ms (10 mins) | The time a connection is allowed to be idle in the connection pool before it gets closed automatically by the client. Valid value: Any time unit. The default unit is milliseconds. Setting this value to 0 leads to infinite timeout. Note: There are two different connection idle timeout values: one on the CipherTrust Manager, and one set by this property. The value of this property must be less than what is set on the server. This lets the client control when idle connections are closed. Otherwise, the client can maintain a connection that is closed on the server side, which can lead to an error. |
Connection_Timeout | 21000ms | Specifies how long the client will wait for the connection to be established before time out. This property is set based on the operating system registry values. For details, refer to Change the Default Value of Connection Timeout. |
Connection_Read_Timeout | 30000ms | Specifies how long the client will wait while trying to read data from the NAE Server before timing out. Setting this value to zero (0) leads to an infinite timeout. |
Connection_Retry_Interval | 600000ms (10 mins) | How long the client will wait before trying to reconnect to a disabled server. If one of the CipherTrust Manager server in a load balanced configuration is not reachable, the client assumes that the server is down, and then waits for the specified time period before trying to connect to it again. |
Use_Persistent_Connections | yes | Specify this parameter to enable or disable persistent connections. If enabled, the client will use a pool of persistent connections to the NAE server. If disabled, a new connection will be created and then closed for each request. Valid values: • yes • no |