Re: Problem with asynchronous connect in 8.0.1 - Mailing list pgsql-interfaces

From Greg Stark
Subject Re: Problem with asynchronous connect in 8.0.1
Date
Msg-id 87pszae751.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Problem with asynchronous connect in 8.0.1  (Chad Robinson <taskswap@yahoo.com>)
List pgsql-interfaces
Chad Robinson <taskswap@yahoo.com> writes:

> It seems so. I have to have this many connections, because for security and
> privacy reasons the processes involved are isolated. There are about
> 1000-1200 per box, 4-8 boxes, depending on how I load-balance things. Unless
> you know some way to REDUCE memory usage per Postgres client connection,
> we'll see how things go with pgpool.

It sounds to me like you might even want something more constricted than
pgpool. Perhaps you want to write some sort of daemon that keeps a single
connection to the database and performs these short simple queries in response
to simple requests it receives from the clients.

This could actually improve security since it would limit what types of
queries can be performed and what data can be retrieved. You could use
something like ldap or snmp or even just a simple xdr rpc call instead of
writing database queries into your application.

-- 
greg



pgsql-interfaces by date:

Previous
From: "Guy Rouillier"
Date:
Subject: Dynamic column name in pgsql trigger function
Next
From: Tom Lane
Date:
Subject: Re: Can you bind output variables?