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

Improve Cache.getGroup() performance

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 14.0.0.Dev03
    • None
    • Core
    • None

    Description

      The getGroup() method can be improved if taking into account the segment. Each group is mapped to a single segment but the implementation still iterates over all keys to lookup the keys in the group. This is even worst if cache-store is available...

      The improvement would be to take advantage of the segment-id and iterate only for keys in that segment.

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: