Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1A887475C3D for ; Thu, 14 Nov 2002 03:12:37 -0500 (EST) Received: from mx8.mail.ru (mx8.mail.ru [194.67.57.18]) by postgresql.org (Postfix) with ESMTP id 12946475ED1 for ; Thu, 14 Nov 2002 03:12:36 -0500 (EST) Received: from drweb by mx8.mail.ru with drweb-scanned (Exim MX.8) id 18CF76-0008zU-00; Thu, 14 Nov 2002 11:12:36 +0300 Received: from [213.128.193.142] (helo=mail.ru) by mx8.mail.ru with esmtp (Exim SMTP.8) id 18CF75-0008wU-00; Thu, 14 Nov 2002 11:12:35 +0300 Message-ID: <3DD35AEE.6070409@mail.ru> Date: Thu, 14 Nov 2002 11:12:30 +0300 From: dima <_pppp@mail.ru> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020816 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Chris Miles Cc: Gary DeSorbo , pgsql-admin@postgresql.org Subject: Re: Weird processes References: <3DD35508.6010207@mail.ru> <20021114080318.B13886@psychofx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/142 X-Sequence-Number: 6330 Chris Miles wrote: > On Thu, Nov 14, 2002 at 10:47:20AM +0300, dima wrote: > >>2) think about writing a server which would provide cgi scripts with >>cached connections; you can $handle->prepare(...) the most common >>queries as well. > > This seems like a common requirement. Are there any such tools which > can be run in a web server (or similar) environment to keep a pool > of postgresql connections, and perhaps cache common queries also? I worked (& work now) for several web software development companies each having its own software (for corporate use only). i started a project in c++ to resolve db pooling task in common, but it is in the early alpha stage for now due to lack of spare time (i haven't installed a unix os on my new laptop as well since i'm waiting for freebsd 5.0 to be released). it will be available free (artistic license i guess) till the new year probably. for now, i can recommend using shared memory to save db handles & compiled queries in perl or c++.