Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5896

ClusterStreamManager segment generation should use locatePrimaryOwnerForSegment

    XMLWordPrintable

Details

    Description

      ClusterStreamManager has to find all of the addresses for a given set of segments. Unfortunately it does this by finding the segments per address. This ends up having n * m time complexity. If we instead did it so we find the primary owner per segment it would only have n time complexity as finding the primary owner of a segment is constant time.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: