You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce J Schuchardt (Jira)" <ji...@apache.org> on 2020/03/30 20:52:00 UTC

[jira] [Created] (GEODE-7926) GMSMemberData is doing unnecessary reverse-DNS lookups

Bruce J Schuchardt created GEODE-7926:
-----------------------------------------

             Summary: 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


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)