

Web Services › How to Enable STC Pooling › How the STC Pool is Managed
How the STC Pool is Managed
A Tomcat internal (monitor) thread manages the STC pool. The PoolreapTime parameter sets the interval at which the monitor thread runs, for example, every 60 seconds. Each time it runs, the monitor thread checks the status of the STCs in the pool.
The STC pool is a group of STC connections to the backend z/OS region executing the CA Endevor SCM API. The following STC parameters determine the pool size:
- PoolinitSize— Specifies the number of permanent STC in the STC pool. The permanent STCs are created when Web Services is initiated. When all the permanent STCs are in use, incremental STCs can be created.
- PoolIncrSize— Specifies the number of incremental STCs that the monitor thread can create in addition to the initial pool when a shortage of STC is detected. If PoolInitSize is set to 0, all STC connections are allocated from the incremental Pool. To anticipate a new workload, the monitor thread creates additional STC connections. The PoolIncrSize parameter specifies the number of additional connections that a thread can create. After the workload decreases, the thread releases the extra STC connections from the incremental pool.
- PoolMaxSize— Specifies the maximum number of live permanent and incremental STCs in the pool.
Copyright © 2014 CA.
All rights reserved.
 
|
|