Re: Connection Pool

From: Date: Wed, 06 Apr 2005 15:10:49 +0000
Subject: Re: Connection Pool
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18544@lists.php.net to get a copy of this message
Just a quick note, this is nothing like how pooled connections work in java, as far as i know the same concept doesn't exists in php. Persistant connections use 1 db connection per apache process and keep that connection open as long as the apache process is alive. This actually reduces scalability on high traffic sites (though i can increase performance by eliminating connection times) since its means many more db connections open at any 1 time. -josh Jacques Marneweck wrote:
Hi Jesper, Take a look at the following which might help: http://pear.php.net/manual/en/package.database.db.db-common.setoption.php http://www.php.net/function.mysql-pconnect http://www.php.net/function.pg-pconnect Regards --jm On Apr 6, 2005 4:06 PM, foxmask <foxmask@gmail.com> wrote:
yes and that can be shared for others. On Apr 6, 2005 2:58 PM, Jacques Marneweck <jmarneweck@gmail.com> wrote:
Hi Jesper, When u talk about "pooled connections" are you perhaps talking about persistent connections? Regards --jm On Apr 4, 2005 9:57 AM, Jesper Berth <big@santaz.dk> wrote:
     
Hi I'm not able to find anything in the documentation for pear:db about pooled connections, is it possible to use pooled connections ?? Is there any documentation about it ?? Cheers Jesper Berth -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
       
-- Jacques Marneweck http://www.powertrip.co.za/blog/ -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
     
-- Founder Member of SPB (SmartyPearBoard) Project - http://sf.net/projects/pimfoxboard - http://magicforum.org


« previous php.pear.general (#18544) next »