Re: Connection Pooling, a year later

Поиск
Список
Период
Сортировка
От Don Baccus
Тема Re: Connection Pooling, a year later
Дата
Msg-id 3C1F6B81.10500@pacifier.com
обсуждение исходный текст
Ответ на Re: Connection Pooling, a year later  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:


> It would just be nice to have it done internally rather than have all
> the clients do it, iff it can be done cleanly.

Serious client applications that need it already do it.  Firing up an 
Oracle or most other db's isn't that lightweight a deal, either, it's 
not useful only for PG..

Personally I'd just view it as getting in the way, but then I use a 
webserver that's provided connection pooling for client threads for the 
last seven years ...

I agree with Tom that the client seems to be the best place to do this.

Among other things it isn't that difficult.  If you know how to fire up 
one connection, you know how to fire up N of them and adding logic to 
pool them afterwards is easy enough.
-- 
Don Baccus
Portland, OR
http://donb.photo.net, http://birdnotes.net, http://openacs.org



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Concerns about this release
Следующее
От: Don Baccus
Дата:
Сообщение: Re: Connection Pooling, a year later