Scaling Dynamic Worker Pool Connections

Jade configuration settings affect the operation of the dynamic worker pool used by web server applications such as REST servers and SOAP servers.

You can configure a pool of workers to be dynamically scaled in response to changes in the incoming communication load. When the incoming rate of requests exceeds the response capacity of the server, the Jade application detects this situation and adds processing capacity by spawning another worker application.

An incoming request is added to the request queue if there are no workers available to process the request. If the number of queued requests continuously remains above the queue depth threshold for the configured period, an internal JadeMultiWorkerTcpManager class, which manages TCP connections to a Jade application, adds a new worker to the pool if the number of current workers is less than the configured maximum number of workers. Each worker in the pool is a complete single‑threaded Jade application, running on the same Jade node as the original Jade application that spawned it.

If a worker process is idle for more than the configured timeout period, it is removed from the worker pool if the total number of workers is greater than the configured minimum number of workers.

The scaling of the pool of workers is controlled by the following initialization file settings.