Modifying the Pool Size

In addition to JVM tuning, you can also adjust the pool size of the spatial remote component. The pool size for a remote component is the number of requests the component can handle concurrently. This setting represents the number of threads on the components that are listening for service requests from the Spectrumâ„¢ Technology Platform or executing a Spatial Module stage (that is, the maximum number of managed connections).

Every web service request enters Spectrum from the platform and is passed to the component. The default value of 4 can be increased to accommodate greater request loads. A pool size that matches the number of CPUs is recommended. The maximum setting should not go above twice the number of the CPU core; for example, on a 4 CPU machine the combined number of threads for all services should not exceed 8. Performance tests should be run with various settings until optimal performance is achieved for the usage.

You have the ability to adjust the pool size in Management Console for the spatial remote component:

  1. Open the Management Console.
  2. Go to Resources > Spatial.
  3. Change the pool size for the remote component using the arrows or by typing in a value. The minimum value is 1 and the maximum value is 64.
  4. Click Save.
  5. If you decreased the pool size, restart the server. Increasing the pool size takes effect immediately and does not require a server restart.