Received: from rakete.joerdens.de (rakete.joerdens.de [62.104.116.200]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f03Dhq781858; Wed, 3 Jan 2001 08:43:53 -0500 (EST) (envelope-from frank@joerdens.de) Received: from limedes.archi-me-des.de (pD9002567.dip.t-dialin.net [217.0.37.103]) by rakete.joerdens.de (8.9.3/8.9.3) with ESMTP id PAA21862; Wed, 3 Jan 2001 15:06:48 +0100 Received: from joerdens.de (tricky.archi-me-des.de [192.168.100.1]) by limedes.archi-me-des.de (8.9.3/8.9.3) with ESMTP id OAA25326; Wed, 3 Jan 2001 14:28:07 +0100 Message-ID: <3A532CC0.847FF3C7@joerdens.de> Date: Wed, 03 Jan 2001 14:44:32 +0100 From: Frank Joerdens X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Tom Lane CC: Tom Samplonius , mlw , PostgreSQL-development , PostgreSQL-interfaces Subject: Re: [INTERFACES] Re: PHP and PostgreSQL References: <15332.978502036@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/51 X-Sequence-Number: 2723 Tom Lane wrote: [ . . . ] > A general-purpose connection-reuse facility on the server end cannot > eliminate these overheads, whereas it's trivial to avoid them within > the context of a multi-threaded client. PHP 4.04 does provide support for AOLServer now (which is multithreaded). I haven't had time to play with it, and it moreover isn't certified for production use yet: ---------------------------------- snip ---------------------------------- NOTE: You should not use this module in production. PHP is not 100% stable yet in threaded mode. To increase reliability enable the Global Lock by removing #define NO_GLOBAL_LOCK in main/main.c. Also don't use php_value as it will lead to races in a sub-system (use an ini file instead). ---------------------------------- snap ---------------------------------- (from the php/sapi/aolserver/README) But it might be the way to go forward with the connection pooling issue. Maybe the PHP people could use some help from the Postgres developers there? I think it has been pointed out in the context of this thread that Apache, as a multi-process server, could not properly handle connection pooling because it's not feasible to pool connections across several Apache children (or was that the problem?). Regards, Frank