Connection pool management for backend servers using common interface
First Claim
1. In a computing environment having a connection to a network, computer readable code readable by a computer system in said environment, for improving server performance by managing a pool of network connections to backend data servers, comprising:
- an application server;
one or more backend data servers;
a connection pool;
a connection pool manager for managing said connection pool, further comprising;
a subprocess for establishing one or more network connections, each of said network connections connecting said application server to a particular one of said one or more backend data servers;
a subprocess for entering said established connections into said connection pool, wherein each of said entered connections has associated therewith (1) a connection type to identify said particular one and (2) zero or more additional characteristics of said entered connection; and
a subprocess for managing said entered connections in said connection pool, further comprising;
a subprocess for receiving a request from a servlet, wherein said request is for assignment of a suitable connection and uses a common application programming interface (API) to said connection pool manager, said common API specifying (1) a desired connection type and (2) zero or more specialized extensions for desired characteristics of said suitable connection; and
a subprocess for assigning said suitable connection to said servlet for use by said servlet when said desired connection type and said zero or more desired characteristics in said specialized extensions are available in one of said entered connections.
3 Assignments
0 Petitions
Accused Products
Abstract
A technique, system, and computer program for enhancing performance of the computers in a Web environment. This is done by creating a pool of connections between a Web server and backend data servers, reducing the overhead required for accessing the data servers and enabling the applications running on the Web server to be faster. Many different types of connections may be maintained concurrently in the pool, to similar or different data servers. A common interface to the pool is used, regardless of the type of backend data server connection, making programs which use the pool easier (and therefore less costly) to write and support. Options are defined for optimizing the number of connections in the pool.
-
Citations
15 Claims
-
1. In a computing environment having a connection to a network, computer readable code readable by a computer system in said environment, for improving server performance by managing a pool of network connections to backend data servers, comprising:
-
an application server; one or more backend data servers; a connection pool; a connection pool manager for managing said connection pool, further comprising; a subprocess for establishing one or more network connections, each of said network connections connecting said application server to a particular one of said one or more backend data servers; a subprocess for entering said established connections into said connection pool, wherein each of said entered connections has associated therewith (1) a connection type to identify said particular one and (2) zero or more additional characteristics of said entered connection; and a subprocess for managing said entered connections in said connection pool, further comprising; a subprocess for receiving a request from a servlet, wherein said request is for assignment of a suitable connection and uses a common application programming interface (API) to said connection pool manager, said common API specifying (1) a desired connection type and (2) zero or more specialized extensions for desired characteristics of said suitable connection; and a subprocess for assigning said suitable connection to said servlet for use by said servlet when said desired connection type and said zero or more desired characteristics in said specialized extensions are available in one of said entered connections. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for improving server performance by managing a pool of network connections in a computing environment, comprising:
-
an application server; one or more backend data servers; a connection pool; a connection pool manager for managing said connection pool, further comprising; means for establishing one or more network connections, each of said network connections connecting said application server to a particular one of said one or more backend data servers; means for entering said established connections into said connection pool, wherein each of said entered connections has associated therewith (1) a connection type to identify said particular one and (2) zero or more additional characteristics of said entered connection; and means for managing said entered connections in said connection pool, further comprising; means for receiving a request from a servlet, wherein said request is for assignment of a suitable connection and uses a common application programming interface (API) to said connection pool manager, said common API specifying (1) a desired connection type and (2) zero or more specialized extensions for desired characteristics of said suitable connection; and means for assigning said suitable connection to said servlet for use by said servlet when said desired connection type and said zero or more desired characteristics in said specialized extensions are available in one of said entered connections. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method for improving server performance by managing a connection pool of network connections by a connection pool manager in a computing environment, comprising the steps of:
-
establishing one or more network connections, each of said network connections connecting an application server to a particular one of one or more backend data servers; entering said established connections into said connection pool, wherein each of said entered connections has associated therewith (1) a connection type to identify said particular one and (2) zero or more additional characteristics of said entered connection; and managing said entered connections in said connection pool, further comprising the steps of; receiving a request from a servlet, wherein said request is for assignment of a suitable connection and uses a common application programming interface (API) to said connection pool manager, said common API specifying (1) a desired connection type and (2) zero or more specialized extensions for desired characteristics of said suitable connection; and assigning said suitable connection to said servlet for use by said servlet when said desired connection type and said zero or more desired characteristics in said specialized extensions are available in one of said entered connections. - View Dependent Claims (12, 13, 14, 15)
-
Specification