skip to main content

isCOBOL Load Balancer : Setting up the isCOBOL Load Balancer

Setting up the isCOBOL Load Balancer
In order to provide a list of available servers to isCOBOL Load Balancer, you need to create different entries in the configuration file. The entries have the following format:
iscobol.balancer.server.<id>=<host-name>:<port>,<number-of-users>
Where:
The following configuration, for example, describes three different isCOBOL Servers listening on three different server machines on the default port and allowing at best 100 users each:
When the isCOBOL Load Balancer is required to provide a server address to a new client, it chooses between the listed servers using the one with the lowest rate (currently-connected-users / maximum-number-of-users).
Automatic Server Checking
The isCOBOL Load Balancer checks the connections to the configured servers at regular intervals. The interval is 60 seconds by default but the number of seconds can be configured through the iscobol.balancer.update.interval property. Consider that the interval is applied to each single server, so, for example, if we have three servers listed in the configuration and we leave the interval at its default value (60 seconds), then 3 minutes will be necessary to check the connectivity to all the servers.
When a server is checked, there is a default connection timeout of 60 seconds. If there is no response before the timeout, the server is considered unavailable. The amount of seconds for a timeout can be configured through the iscobol.balancer.update.timeout property.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left