Re: Urgent: 10K or more connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Urgent: 10K or more connections
Дата
Msg-id 23350.1058623055@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Urgent: 10K or more connections  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: Urgent: 10K or more connections  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-general
Sean Chittenden <sean@chittenden.org> writes:
> it's very plausible to imagine a world where a backend hands an idle
> connection back to the parent process for safe keeping/process load
> balancing.

And your current database, user authorization, prepared statements,
SET values, cached plpgsql plans, etc etc go where exactly?

The notion that a Postgres session can be replaced by a lightweight
object is just not workable IMHO; we've developed far too many features
that require persistent state on the backend side.

For applications that don't need those features (or, more realistically,
want the same persistent state for all transactions they engage in),
client-side connection pooling solves the problem.  It seems very
unlikely that apps that are too diverse to share a client-side pool
would be able to share a backend session if only the connection
mechanism were a bit different.

            regards, tom lane

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

Предыдущее
От: Andrew Gould
Дата:
Сообщение: Re: What about a comp.databases.postgresql usenet
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: What about a comp.databases.postgresql usenet