Re: Connection pool deadlock

Поиск
Список
Период
Сортировка
От Aaron Mulder
Тема Re: Connection pool deadlock
Дата
Msg-id Pine.LNX.4.44.0303061155240.28475-100000@www.princetongames.org
обсуждение исходный текст
Ответ на Connection pool deadlock  (Anil Kumar <techbreeze@yahoo.com>)
Список pgsql-jdbc
On 6 Mar 2003, Csaba Nagy wrote:
> Why not ? The pool size could be dynamic, to accommodate the demand...
> IIRC, the apache HTTP connection pool is also configurable to
> grow/shrink. The same principles could apply here.

    Let's say you set your pool size to 10, but really you're willing
to have it use up to 100 connections.  So you complain that we block you
after 10.  Instead, you can set it to 100 connections in the first place.
They still won't be actually opened unless they're needed.  I wouldn't
want to make a totally open-ended pool, but if you do, you can set the
maxConnections to 0, which means "unlimited".
    So the only issue here is shrinking, which was not implemented
because no one seemed to care.  Is that still the case?

Aaron


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

Предыдущее
От: Dirk Bromberg
Дата:
Сообщение: Re: Postgres PooledConnection...
Следующее
От: Barry Lind
Дата:
Сообщение: Re: Timestamp precision