Re: Problem with asynchronous connect in 8.0.1

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Problem with asynchronous connect in 8.0.1
Дата
Msg-id 87pszae751.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Problem with asynchronous connect in 8.0.1  (Chad Robinson <taskswap@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: "Guy Rouillier"
Дата:
Сообщение: Dynamic column name in pgsql trigger function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can you bind output variables?