in reply to Connection Pooling

As connection pooling always needs knowledge about the underlying protocol for each connection, you will need to tell us more. If it is a database or custom program where each client makes connections to a server, it is quite possible that connection pooling is even prohibited by the license terms of your vendor.

Replies are listed 'Best First'.
Re^2: Connection Pooling
by muk (Initiate) on Oct 27, 2011 at 15:27 UTC

    Hi

    Thanks for replying

    Actually I am trying to build a package for connection pooling,I am working in a project where we are developing perl scripts to connect to DB2 database and perform some business logic in a unix environment.

    The actual requirement is instead of connecting to the database n number of times,get a connection from the database keep it in a pool where ever there is a request release a connection after using give it back to the pool,if the maximum limit is reached wait in a queue ,so the performance can be improved.

    I tried this using resource pool but I am facing some issues,is there any other way to implement this.