Re: Using Postgresql as application server - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Using Postgresql as application server
Date
Msg-id CAHyXU0z3H8gEXBXu9XE7sRqBUe=8HydTnvWkieprwmA1DGrbeg@mail.gmail.com
Whole thread Raw
In response to Re: Using Postgresql as application server  (Chris Travers <chris.travers@gmail.com>)
Responses Re: Using Postgresql as application server
List pgsql-general
On Tue, Aug 16, 2011 at 12:52 AM, Chris Travers <chris.travers@gmail.com> wrote:
> On Mon, Aug 15, 2011 at 10:05 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
>
>>
>> Yep.  Also, it's REAL easy to stick a caching layer like memcached
>> into the middle tier app layer, but nearly impossible to do so in
>> pgsql.  For large systems, this would make pg as an app server a nogo.
>>  But for small to medium sized systems that don't need caching it
>> could work out.
>>
> The other big scalability limitation for Pg as an app server is you
> really can't do connection pooling.

why not?  if you are serving http, just put thin connection pooler in
your http server (node.js would be great for that).  if you are
serving libpq directly, you can pool with pgbouncer.

merlin

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Compile pgadmin1-1.14.0-beta3 - ctlMenuToolbar
Next
From: Merlin Moncure
Date:
Subject: Re: [ADMIN] Using Postgresql as application server