How to program a connection pool?

Posted by the_drow on Stack Overflow See other posts from Stack Overflow or by the_drow
Published on 2010-05-07T18:53:25Z Indexed on 2010/05/07 18:58 UTC
Read the original article Hit count: 198

Filed under:
|
|
|

Is there a known algorithm for implementing a connection pool? If not what are the known algorithms and what are their trade-offs?
What design patterns are common when designing and programming a connection pool?
Are there any code examples implement a connection pool using boost.asio?
Is it a good idea to use a connection pool for presisting connections (not http)?
How is threading related to connection pooling? When do you need a new thread?

© Stack Overflow or respective owner

Related posts about boost.asio

Related posts about c++