[
https://issues.apache.org/jira/browse/KYLIN-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruixuan Zhang updated KYLIN-5451:
---------------------------------
Summary: Query Performance Improvement by avoiding multiple local ip
acquisitions (was: Query Improvement by avoiding multiple local ip
acquisitions)
> 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)