Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-5035

Index hosts by IP address in the host store

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
    • Story Points:
      3

      Description

      The HostService allows looking up hosts by IP address, but the current implementation requires linearly searching through the consistent map to find hosts with a given IP address.

      This is a performance bottleneck, and performance degraded when the ECMap was replaced with a consistent map.

      We can improve this by keeping an in-memory index of IP address -> Host in the HostStore. The index would be updated by events from the consistent map.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            dvaddire deepa vaddireddy
            Reporter:
            jono Jonathan Hart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: