[ 
https://issues.apache.org/jira/browse/KUDU-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986164#comment-15986164
 ] 

Pavel Martynov commented on KUDU-1982:
--------------------------------------

Working on it https://gerrit.cloudera.org/#/c/6735/

> Java client calls NetworkInterface.getByInetAddress too often
> -------------------------------------------------------------
>
>                 Key: KUDU-1982
>                 URL: https://issues.apache.org/jira/browse/KUDU-1982
>             Project: Kudu
>          Issue Type: Bug
>          Components: client, java, perf
>    Affects Versions: 1.1.0, 1.2.0, 1.3.0
>            Reporter: Todd Lipcon
>            Priority: Critical
>
> Pavel Martynov found that the performance of the Java client on his Windows 
> system regressed ~20x between 1.0.1 and 1.1.0 due to frequent calls to 
> NetworkInterface.getByInetAddress. This function is apparently very slow on 
> Windows. We are currently computing this unnecessarily in many places, and 
> even when we do need it, we could probably cache the set of local IPs.
> It's not clear that this is as problematic on Linux, but looking at the 
> source, it's also not entirely light-weight either.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to