Re: Connection pooling branch ready for testing

Michael Koziarski
Tue, 12 Aug 2008 08:50:31 -0000

> If you only ever receive requests on a single thread, there''s no
> difference between that and a connection pool of size 1. But if you
> ever do any multiple-thread access of connections, you have the
> potential to create a lot of new connections and/or leak connections
> (if you don''t call verify_active_connections! periodically). With
> connection pools, you can be assured that you limit the number of
> connection resources you use.

I still can''t see a reason that we''d want to support this old
way of
operating.  Just default the pool to size 1 and people using it in a
threaded environment will have to take care to set it higher or have
sucky performance.  Is there a potential downside I''m not aware of?

--
Cheers

Koz