摘要 |
A technique, system, and computer program are provided for enhancing performance of the computers in a Web environment. A pool 120 of connections is created between a Web server 80 and one or more backend data server's 90, reducing the overhead required for accessing the data servers and enabling the applications running on the Web server to be faster. A "connection manager" 110 manages the pool 120 of already established connections, provides a suitable connection 130 to a servlet 140 when requested, and creates new connections (e.g. 150), or closes connections, when necessary. 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.
|