Re: Patch to add a socketTimeout property.

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Patch to add a socketTimeout property.
Дата
Msg-id Pine.BSO.4.64.0804102041440.29336@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Patch to add a socketTimeout property.  (Art Gramlich <art.gramlich@healthtrio.com>)
Ответы Re: Patch to add a socketTimeout property.  (Art Gramlich <art.gramlich@healthtrio.com>)
Re: Patch to add a socketTimeout property.  ("Toru SHIMOGAKI" <shimogaki.toru@gmail.com>)
Список pgsql-jdbc

On Thu, 10 Apr 2008, Art Gramlich wrote:

> They do.  We usually have different connection pools for normal (short
> running) and long queries.  Since almost all are short running, this has
> worked well for us.  I actually haven't tried setting keepalive in this
> situation. so I can't say much, but the vpn solutions we have used have at
> times gotten into some pretty wierd states and sotimeouts could stop our
> pools from going crazy.
>

I can see how keepalives are generally useful while sotimeouts are only
useful in the specific situation where you can set a global limit on your
query times.  On the other hand the sotimeout is configurable while the
keepalive timeout isn't configurable (at least in Java).  I'm not
particularly excited about either option, but I don't need them either.
  I don't see a danger with exposing them as options as long as the pros
and cons are clearly explained.

Kris Jurka

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Problem with very big queries.
Следующее
От: Art Gramlich
Дата:
Сообщение: Re: Patch to add a socketTimeout property.