From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Mikko Tiihonen <Mikko(dot)Tiihonen(at)nitorcreations(dot)com> |
Cc: | Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, Sérgio Saquetim <sergiosaquetim(at)gmail(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>, Rafael dos Santos Silva <xfalcox(at)gmail(dot)com> |
Subject: | Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver |
Date: | 2012-10-19 01:19:47 |
Message-ID: | alpine.BSO.2.00.1210182117410.30580@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Thu, 18 Oct 2012, Mikko Tiihonen wrote:
> I think the DNS lookup is part of the JDBC failover connection patch
> that I created. I initially used a InetSocketAddress.getHostString()
> that does not do any DNS lookups, but since that method was added in
> Java7 I had to revert to getHostName() method which does.
>
Is there any functionality that we need that is provided by using
InetSocketAddress or is it just a convenient object to pass around host
and port together? The simplest option to me seems to be reverting to
passing simple strings/ints around (possibly in some kind of our own
container).
Kris Jurka
From | Date | Subject | |
---|---|---|---|
Next Message | Mikko Tiihonen | 2012-10-19 06:36:11 | Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver |
Previous Message | Tsunakawa, Takayuki | 2012-10-19 01:15:52 | Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver |