Server Instance Configuration - trillium_geolocation - 15.19

Trillium Geolocation Reference

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Geolocation
Version
15.19
Language
English
Product name
Trillium Geolocation
Title
Trillium Geolocation Reference
Copyright
2023
First publish date
2017
Last updated
2024-04-16
Published on
2024-04-16T03:27:32.653616

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 });