In Client-Server Mode, each Server Instance is a connection to a Trillium Geolocation network server installation, accessed through the standard Trillium Geolocation network API. The Trillium Geolocation network server may be running locally or elsewhere on the network.
This mode of operation is not generally recommended for most deployments due to the following restrictions:
The REST Interface must make an additional call over the network to the Trillium Geolocation network server to complete the request.
There is no security or encryption in the communication protocol used to connect to the Trillium Geolocation network server.
Each Client-Server Mode Server Instance is specified in config.js as follows:
glServers.push({ host: 'localhost', maxRequests: 100 });
For each instance, the following options must be specified:
host: The host name of the Trillium Geolocation network server to connect to, specified as a DNS name or IP address. The include a network port, use the syntax hostname:portnumber, for example localhost:17555.
maxRequests: The maximum number of requests that the server instance can simultaneously process. If more requests than this limit are received, they will be rejected. This option can be set to 0 to specify unlimited simultaneous requests.