Integration Server 11.1 | Configuring On-Premise Integration Servers for webMethods Cloud | Configuring Accounts for IBM webMethods Cloud | Configuring Sessions for Use by IBM webMethods Cloud Accounts
 
Configuring Sessions for Use by IBM webMethods Cloud Accounts
For each IBM webMethods Cloud account, the on-premises Integration Server maintains a session pool to send responses to the Cloud. Integration Server provides server configuration parameters to set the pool size and the interval at which Integration Server sweeps for unused sessions.
Integration Server starts with a minimum number of sessions for each IBM webMethods Cloud account. The watt.wmcloud.sessionPool.minCount controls the minimum pool size. When the minimum number of sessions are in use, Integration Server creates new sessions to handle additional requests. Integration Server continues to create new sessions until it handles all the requests for the account or it reaches the maximum size of the session pool. The watt.wmcloud.sessionPool.maxCount value determines the maximum size of the session pool for IBM webMethods Cloud account. After the session pool Integration Server reaches the maximum size, Integration Server reuses sessions in a round-robin fashion. As the load reduces, sessions become unused. Integration Server uses a background thread to sweep for and remove unused "extra" sessions.
For example, if watt.wmcloud.sessionPool.minCount is set to 3 and an account session pool contains 10 sessions, 7 of those sessions are "extra" or "additional". If 8 of the 10 sessions are unused, Integration Server removes only 7 of the unused sessions to keep the minimum number of sessions in the pool.
The interval at which the sweeper runs is controlled by the watt.wmcloud.sessionPool.sweeperInterval parameter.
Server configuration parameter
Description
watt.wmcloud.sessionPool.maxCount
The maximum number of sessions in the session pool that the IBM webMethods Cloud uses to send responses to the Cloud.
watt.wmcloud.sessionPool.minCount
The minimum number of sessions in the session pool that the IBM webMethods Cloud uses to send responses to the Cloud.
watt.wmcloud.sessionPool.sweeperInterval
The interval at which Integration Server removes unused sessions in session pools for IBM webMethods Cloud accounts. Integration Server removes only the number of unused sessions in excess of the minimum session pool size.
For more information about these parameters, see watt.wmcloud.