Perrin Harkins wrote: > On Mon, 2005-09-12 at 14:27 +0800, firingme wrote: > >>I want to know is there any package can give me a DB Connection Pool >>in a mod_perl application ? >> >>I've checked Apache::DBI, but it seems that it'll initialze a >>new connection when a new thread born. > > The only existing solution is sql-relay: > http://sqlrelay.sourceforge.net/
I think it oughta be possible too with DBD::Proxy and DBD::ProxyServer > However, in most cases a pool is not necessary. Persistent connections > are typically all that you need. Unless you are stuck in a situation where you must control the _total_ amount of connections to a given database. -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature