Resizing the pool, which is done based on the number of
active users, helps ensure that resources are allocated correctly.
About this task
When the pool grows, new IBM® Rational® Synergy sessions are
started. When it shrinks, existing Rational Synergy
sessions are dropped. A frequently resized pool more closely matches
the current system demand. However, resizing the pool uses resources
because the server might need to start or shut down sessions.
The
following examples explain how sessions are started and stopped when
the session pool is resized. Resizing is always constrained by the
minimum and maximum session settings.
For any two hosts A and
B on a given database:
- Starting sessions
- If hosts A and B are less than or equal to the threshold, or both
are greater than the threshold, the higher priority host takes precedence.
If their priorities are equal, the host with the lowest load (number
of sessions) takes precedence.
- If exactly one host is above the threshold, the other host takes
precedence.
- Stopping sessions
- If hosts A and B are less than or equal to the threshold, or both
are greater than the threshold, the lower priority host takes precedence.
If their priorities are equal, the oldest session takes precedence.
- If exactly one host is above threshold, that host takes precedence.