Method and mechanism for implementing dynamic sizing of session pools
AssigneeOracle International Corporation
InventorsDebashis Saha, Srinath Krishnaswamy, Lakshminarayanan Chidambaran
Life of this patent
Estimating the term…
Abstract
An improved method, mechanism, and system for implementing, generating, and maintaining for implementing session pools is disclosed. Disclosed is a method, mechanism, and system for dynamic sizing of session pools, in which the number of sessions in a given session pool or sub-session pool can be dynamically adjusted upwards or downwards. Also disclosed is an approach for customizing a session in a session pool with a specific set of affinities and attributes, in which tags can be associated with the customized sessions. Tagging can be used to identify sessions to deallocate/reallocate to dynamically size the session or sub-session pools.
Claims35
A method for dynamically sizing one or more session pools, each of the one or more session pools comprising one or more sessions, the method comprising:
- requesting a free session from a first session pool;
- determining that the free session is not immediately available in the first session pool;
- in response to determining that the free session is not available from the first session pool, determining whether an identified session from a second session pool can be de-allocated;
- and
- if the identified session from the second session pool can be de-allocated, dynamically sizing the first and second session pools by de-allocating the identified session from the second session pool and creating a new session in the first session pool.
A method for preemptively sizing one or more session pools, each of the one or more session pools comprising one or more sessions, the method comprising:
- determining whether a first and second session pools should be preemptively resized, in which the decision to resize is not in response to an immediate request for a free session;
- and
- resizing the first and second session pools by de-allocating a first session from the first session pool and creating a new session in the second session pool.
A computer program product comprising a computer usable medium having executable code to execute a process for dynamically sizing one or more session pools, each of the one or more session pools comprising one or more sessions, the process comprising:
- requesting a free session from a first session pool;
- determining that the free session is not immediately available in the first session pool;
- in response to determining that the free session is not available from the first session pool, determining whether an identified session from a second session pool can be de-allocated;
- and
- if the identified session from the second session pool can be de-allocated, dynamically sizing the first and second session pools by de-allocating the identified session from the second session pool and creating a new session in the first session pool.
A system for dynamically sizing one or more session pools, each of the one or more session pools comprising one or more sessions, the session pools residing on a server in an n-tier computing architecture, comprising:
- means for requesting a free session from a first session pool of the server in the n-tier computing architecture;
- means for determining that the free session is not immediately available in the first session pool;
- means for determining whether an identified session from a second session pool can be de-allocated in response to determining that the free session is not available from the first session pool;
- and
- means for dynamically sizing the first and second session pools by de-allocating the identified session from the second session pool and creating a new session in the first session pool if the identified session from the second session pool can be de-allocated.
A system for preemptively sizing one or more session pools, each of the one or more session pools comprising one or more sessions, comprising:
- means for determining whether a first and second session pools should be preemptively resized, in which the decision to resize is not in response to an immediate request for a free session;
- and
- means for resizing the first and second session pools by de-allocating a first session from the first session pool and creating a new session in the second session pool.
A computer program product comprising a computer usable medium having executable code to execute a process for preemptively sizing one or more session pools, each of the one or more session pools comprising one or more sessions, the process comprising:
- determining whether a first and second session pools should be preemptively resized, in which the decision to resize is not in response to an immediate request for a free session;
- and
- resizing the first and second session pools by de-allocating a first session from the first session pool and creating a new session in the second session pool.
Dependencies are inferred from the claim text.