Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver
Дата
Msg-id alpine.BSO.2.00.1210182117410.30580@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver  (Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>)
Ответы Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver  (Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>)
Список 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


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

Предыдущее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver
Следующее
От: Mikko Tiihonen
Дата:
Сообщение: Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver