Re: Connection Pooling directly on Postgres Server

Поиск
Список
Период
Сортировка
От Gavin M. Roy
Тема Re: Connection Pooling directly on Postgres Server
Дата
Msg-id af1bce590709070908g13727ef8j9cf22a56ef139915@mail.gmail.com
обсуждение исходный текст
Ответ на Connection Pooling directly on Postgres Server  (Denis Gasparin <denis@edistar.com>)
Список pgsql-general
You'll want to evaluate pgBouncer to see if it meets your needs.  It
works very well for general proxying, connection pooling.

On 9/7/07, Denis Gasparin <denis@edistar.com> wrote:
> I'm looking for connection pooling solutions for our php/apache server.
>
> I already checked pgpool and pgbouncer but during the tests, I had the
> following (mad) idea...
>
> Why not to implement a connection pooling server side as apache for
> example does?
>
> I try to explain my idea...
>
> The postgres server maintains a number of connections always alive (as
> apache for example does)
> even if a client disconnects.
>
> The following parameters could be used to tune the number of connections
> kept alive server side:
>
> StartServers: number of postgres already active connections at server start
> MinSpareServers: If there are fewer than MinSpareServers, it creates a
> new spare (connection)
> MaxSpareServers: If there are more than MaxSpareServers, some of the
> spares (connections) die off.
>
> The parameters has been taken directly from an apache httpd.conf sample...
>
> Could it be possible to implement a similar solution on postgres?
>
> What to do you think about this?
>
> Thank you,
> Denis
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

В списке pgsql-general по дате отправления:

Предыдущее
От: "Rodrigo De León"
Дата:
Сообщение: Re: stored procedure
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: an other provokative question??