Re: Patch to add a socketTimeout property. - Mailing list pgsql-jdbc

From Toru SHIMOGAKI
Subject Re: Patch to add a socketTimeout property.
Date
Msg-id e43b8e4f0804111727j535b62e3i4e356295b19b0023@mail.gmail.com
Whole thread Raw
In response to Re: Patch to add a socketTimeout property.  (Kris Jurka <books@ejurka.com>)
Responses Re: Patch to add a socketTimeout property.  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
2008/4/11, Kris Jurka <books@ejurka.com>:

>   I don't see a danger with exposing them as options as long as the pros and
> cons are clearly explained.

How about the following list to compare keepalive and socket timeout?
Please add other topics, if any.


                 keepalive                 socket timeout
------------------------------------------------------------------
Configurability  No in Java                Yes
                 (depend on OS setting)

Target           All connections           Each connection

Standard timer   2 hours                   Depend on users
 setting

Influence        All of applications       Long running query
                 on a same OS              using a same connection

Overhead         Network for               CPU for timer
                 keepalive proves



On the other hand, should we  provide the both properties and users
chose either of them depend on their requirement?

--
Toru SHIMOGAKI <shimogaki.toru@gmail.com>

pgsql-jdbc by date:

Previous
From: Art Gramlich
Date:
Subject: Re: Patch to add a socketTimeout property.
Next
From: Stanislav Mironov
Date:
Subject: Two BLOBs (OID) in table?