Re: Connection Pooling directly on Postgres Server

Поиск
Список
Период
Сортировка
Искать
От
Markus Schiltknecht
Тема
Re: Connection Pooling directly on Postgres Server
Дата
Msg-id
46E180F4.7040704@bluegap.ch
Ответ на
Список
Дерево обсуждения
Connection Pooling directly on Postgres Server Denis Gasparin <denis@edistar.com>
Re: Connection Pooling directly on Postgres Server Hannes Dorbath <light@theendofthetunnel.de>
Re: Connection Pooling directly on Postgres Server Markus Schiltknecht <markus@bluegap.ch>
Re: Connection Pooling directly on Postgres Server Denis Gasparin <denis@edistar.com>
Re: Connection Pooling directly on Postgres Server "Filip Rembiałkowski" <plk.zuber@gmail.com>
Re: Connection Pooling directly on Postgres Server "Gavin M. Roy" <gmr@myyearbook.com>
Hi,

Denis Gasparin wrote:
> Why not to implement a connection pooling server side as apache for
> example does?

This has certainly been discussed before.

IIRC the real argument against that was, that fork() isn't the most 
expensive thing to do anymore. And Postgres does lots of other stuff 
after accept(), namely connecting to a certain database, authenticating 
the user, etc..

If you still want to optimize that, you'd end up having n spare backends 
*per database*. I do that in Postgres-R - not for connection pooling, 
but for application of remote transactions.

Regards

Markus

В списке pgsql-general по дате отправления
От: Chansup Byun
Дата:
От: Rodrigo De León
Дата:
FAQ