Skip to content

[ISSUE 3585] [Part A] eliminate reverse DNS lookup in MessageExt #3586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

areyouok
Copy link
Contributor

@areyouok areyouok commented Dec 6, 2021

MessageExt.getBornHostNameString() called InetAddress.getHostName(), which may case reverse DNS lookup.

MessageExt.getBornHostNameString() is used in broker side, so we use InetSocketAddress.getHostString() instead it.

@areyouok areyouok linked an issue Dec 6, 2021 that may be closed by this pull request
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 55.082% when pulling 0594f86 on areyouok:492_PartA into 4daade3 on apache:develop.

@yuz10 yuz10 merged commit 4f18b0d into apache:develop Dec 10, 2021
devfat pushed a commit to devfat/rocketmq that referenced this pull request Mar 3, 2022
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this pull request Aug 12, 2022
carlvine500 pushed a commit to carlvine500/rocketmq-apache that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve performance for 4.9.2
4 participants