You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ruixuan Zhang (Jira)" <ji...@apache.org> on 2023/02/27 08:47:00 UTC

[jira] [Resolved] (KYLIN-5451) Query Performance Improvement by avoiding multiple local ip acquisitions

     [ https://issues.apache.org/jira/browse/KYLIN-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruixuan Zhang resolved KYLIN-5451.
----------------------------------
    Resolution: Fixed

> Query Performance Improvement by avoiding multiple local ip acquisitions
> ------------------------------------------------------------------------
>
>                 Key: KYLIN-5451
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5451
>             Project: Kylin
>          Issue Type: Improvement
>    Affects Versions: 5.0-alpha
>            Reporter: Ruixuan Zhang
>            Assignee: Ruixuan Zhang
>            Priority: Major
>             Fix For: 5.0-alpha
>
>         Attachments: 1c7d7dab-613c-4863-bd7d-66e3988c16ff.png
>
>
> AddressUtil#getLocalHostExactAddress might slow the query because of multiple local ip acquisitions in org.springframework.cloud.commons.util.InetUtils#findFirstNonLoopbackHostInfo.
> h2. Fix Design
> Add cache of LOCAL_IP_ADDRESS. Thus, the cache is updated when calling AddressUtil#getLocalHostExactAddress at the first time, then the cache can be used afterwards.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)