Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7808

standardize on use of LocatorAddress/HostAddress for connection formation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13.0
    • Component/s: membership, messaging
    • Labels:
      None

      Description

      We currently use InetAddress and InetSocketAddress in many places to identify locators, servers and peers. Some work has been done in the past couple of years to reduce the use of these in order to accommodate changes in IP addresses due to various causes. The class LocatorAddress was created to help with this and it is able to hold a host name without resolving it until that resolution is needed to form a tcp/ip connection.

      These days we are seeing more and more movement into cloud computing and the need to accommodate IP address changes is becoming a bigger issue. To that end we would like to change our primary client/server and WAN communication interfaces to stop taking InetAddresses and InetSocketAddresses as arguments and, instead, take something like a LocatorAddress that can hold an unresolved hostname that our communication implementations will resolve when needed.

      To that end we should also remove the hostname->inetaddress cache in SocketCreator and rely on the operating system's DNS cache.

        Attachments

          Activity

            People

            • Assignee:
              bschuchardt Bruce J Schuchardt
              Reporter:
              bschuchardt Bruce J Schuchardt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h 40m
                7h 40m