Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5086AB5DBDF for ; Tue, 16 Aug 2011 04:46:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 47297-04; Tue, 16 Aug 2011 07:46:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.bestmx.ru (mail.bestmx.ru [84.19.186.203]) by mail.postgresql.org (Postfix) with ESMTP id B9C35B5DBDE; Tue, 16 Aug 2011 04:46:00 -0300 (ADT) Envelope-to: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Received: from [84.19.186.203] (helo=mail.bestmx.ru) by mail.bestmx.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QtELX-0006Ip-9p; Tue, 16 Aug 2011 11:45:59 +0400 Message-ID: <4E4A2037.8030604@bestmx.ru> Date: Tue, 16 Aug 2011 11:45:59 +0400 From: "sad@bestmx.ru" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2 MIME-Version: 1.0 To: pgsql-general@postgresql.org, pgsql-admin Subject: Re: Using Postgresql as application server References: <4E495869.7050706@bestmx.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.888 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.988 X-Spam-Level: X-Archive-Number: 201108/140 X-Sequence-Number: 38127 Scott Marlowe пишет: > On Mon, Aug 15, 2011 at 11:33 AM, sad@bestmx.ru wrote: >> Scott Marlowe пишет: >>> On Sat, Aug 13, 2011 at 9:57 AM, c k wrote: >>>> Dear Postgres users, >>>> from last few months I am reading and searching for can postgresql used >>>> as >>>> application server? As postgresql supports many languages like pl/perl, >>> Besides the previously mentioned nginx module there's apache's mod >>> libpq http://asmith.id.au/mod_libpq.html >>> >>> But I'd stick to a language to wrap stuff in like php etc. >> BTW, string concatenation in postgresql (plpgsql) is FASTER than in PHP > But I can throw 1,000 cores at a large load with php. Much harder to > do with plpgsql. and? all of them would inevitably connect the same postgresql the solution is outside the scope. ...a web-server page cache is one element of a solution