The config.js file is used to configure the number and location of Server Instances used by the REST Interface.
Each Server Instance represents a separate invocation of Trillium Geolocation. While each Server Instance is multi-threaded and can therefore process multiple requests simultaneously, for intensive applications greater throughput may be achieved by specifying multiple Server Instances.
Server Instances can be configured to run in either Library Mode or Client-Server Mode. Library Mode is the default as is recommended for most deployments. The config.js file specifies the Server Instances that may be used by the REST Interface. The REST Interface will start additional Server Instances (up to the number specified in config.js) as required by the number of requests it is processing.
By default, the Geolocation REST Interface is configured to use a single Server Instance running in Library mode:
glServers.push({ path: '../../../../server', maxRequests: 0 });