Adjusting The Connection Idle Timeout In Connection Pools
First Claim
1. A method implemented by an information handling system comprising:
- identifying a connection request to connect to an external network entity;
selecting one or more connections from a connection pool that includes one or more currently unused connections with the external network entity;
validating one of the selected connections by comparing an idle time associated with each of the selected connections to a maximum idle time value corresponding to the external network entity, wherein the maximum idle time value was previously identified at the information handling system; and
using the validated connection to connect to the external network entity.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach is provided that responds to a connection request to connect to an external network entity using a connection from a managed connection pool. The connection pool is managed by selecting connections from the connection pool that includes one or more currently unused connections with the external network entity. One of the selected connections is validated by comparing an idle time associated with each of the selected connections to a maximum idle time value corresponding to the external network entity. The maximum idle time value being previously identified at the information handling system. The validated connection is then used to connect to the external network entity to satisfy the connection request.
-
Citations
24 Claims
-
1. A method implemented by an information handling system comprising:
-
identifying a connection request to connect to an external network entity; selecting one or more connections from a connection pool that includes one or more currently unused connections with the external network entity; validating one of the selected connections by comparing an idle time associated with each of the selected connections to a maximum idle time value corresponding to the external network entity, wherein the maximum idle time value was previously identified at the information handling system; and using the validated connection to connect to the external network entity. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An information handling system comprising:
-
one or more processors; a memory that is accessible by at least one of the processors; a connection pool stored in the memory, wherein the connection pool includes one or more currently unused connections with an external network entity; a network adapter that connects the information handling system to a computer network; and a set of instructions executed by the selected processor in order to perform actions of; identifying a connection request to connect to the external network entity through the network adapter; selecting one or more of the connections from the connection pool; validating one of the selected connections by comparing an idle time associated with each of the selected connections to a maximum idle time value corresponding to the external network entity, wherein the maximum idle time value was previously identified at the information handling system; and using the validated connection to connect to the external network entity. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product stored in a computer storage medium, comprising functional descriptive material that, when executed by an information handling system, causes the information handling system to perform actions that include:
-
identifying a connection request to connect to an external network entity; selecting one or more connections from a connection pool that includes one or more currently unused connections with the external network entity; validating one of the selected connections by comparing an idle time associated with each of the selected connections to a maximum idle time value corresponding to the external network entity, wherein the maximum idle time value was previously identified at the information handling system; and using the validated connection to connect to the external network entity. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A method implemented by an information handling system comprising:
-
identifying a maximum idle time value corresponding to an external network entity; comparing the maximum idle time value to one or more connection idle times associated with one or more connections included in a connection pool; selecting one or more of the connections from the connection pool in response to the comparison revealing that the connection idle times associated with the selected connections is greater than the identified maximum idle time, wherein the selected connections are removed from the connection pool, and wherein the identification of the maximum idle time value further comprises; initializing a test maximum idle time value; repeatedly testing the test maximum time value by; establishing a new connection to the external network entity; discontinuing use of the new connection until the test maximum idle time value has elapsed; testing the established new connection after the test maximum idle time value has elapsed; decreasing the test maximum idle time value in response to the testing revealing that the first new connection is invalid; increasing the test maximum idle time value in response to the testing revealing that the first new connection is valid; and calculating the maximum idle time value based on the test maximum idle timeout value. - View Dependent Claims (20, 21, 22, 23, 24)
-
Specification