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