[ https://issues.apache.org/jira/browse/GEODE-7926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074659#comment-17074659 ]
ASF subversion and git services commented on GEODE-7926: -------------------------------------------------------- Commit 5864f2a45711369bd87b0c6b565e2ebea12c15a0 in geode's branch refs/heads/develop from Bruce Schuchardt [ https://gitbox.apache.org/repos/asf?p=geode.git;h=5864f2a ] GEODE-7926: GMSMemberData is doing unnecessary reverse-DNS lookups (#4894) Removed hostname lookup from GMSMemberData a serialization method. InternalDistributedMember does its own hostname lookup & there's no reason for the lookup in GMSMemberData. I found it was slowing down UDP communications. > GMSMemberData is doing unnecessary reverse-DNS lookups > ------------------------------------------------------ > > Key: GEODE-7926 > URL: https://issues.apache.org/jira/browse/GEODE-7926 > Project: Geode > Issue Type: Bug > Components: membership, messaging > Reporter: Bruce J Schuchardt > Assignee: Bruce J Schuchardt > Priority: Major > Fix For: 1.13.0 > > Time Spent: 20m > Remaining Estimate: 0h > > When we send a message via JGroups we write a serialized GMSMemberData in the > header of the message. When this is deserialized we are currently using > InetAddress.getHostName() to establish a hostname for the new instance. This > is costly and unnecessary. We should just use getHostAddress() if we need a > hostname in the address data. Geode's InternalDistributedMember doesn't rely > on GMSMemberData to establish hostnames for geode-core and other downstream > modules. -- This message was sent by Atlassian Jira (v8.3.4#803005)