Client Node level Configurations
Mentioned below are the cache level configurations available in client.ncconf.
<configuration>
<ncache-server connection-retries="5" retry-connection-delay="0" retry-interval="1" client-request-timeout="90" connection-timeout="5" port="9800" local-server-ip="20.200.20.30"/>
</configuration>
The following topics cover a detailed explanation of the configuration tags in client.ncconf.
Client Request TimeOut
The client-request-timeout
is the time interval for which the client API waits for a server response for a command. After this time runs out, an OperationFailedException
is thrown. The value of this request timeout is 90 seconds by default. This time is configurable if the minimum value isn't lower than 60 seconds. Time less than the minimum value will automatically be reset to the minimum value, i.e., 60 seconds.
Connection Retries
The connection-retries
are the number of retries a client makes on the entire list of servers specified in the client.ncconf at the time of connection establishment. The number of connection retries is the same for the connection break scenario.
Retry interval
The client tries to reconnect with a server if their connection breaks down. The retry-interval
flag is the delay between each retry. This flag is specified in seconds.
Connection TimeOut
The connection-timeout
is the time for threads to wait before throwing the OperationFailedException
during a connection break while a thread tries to reconnect to the cache server. If the connection is established without errors, all the remaining threads will complete their respective operations. Otherwise, they will throw OperationFailedException
.
Retry Connection Delay
The retry-connection-delay
is the time interval specified for a client API to wait before initializing another iteration of connection-retries
. This connection delay is specified in seconds.
Local Server IP
The local-server-ip
specifies the IP address of your local server machine.
Port
The port
is the TCP port on which the client sends the connection request to the cache server.
See Also
Cache Level
Cache Settings (config.ncconf)
Cache Server Settings (service.exe.config)
Monitor Caches