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

Extend Grouping API to mapping of DeltaCompositeKeys to the same node as the delta aware value key

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 5.3.0.Final
    • Core
    • None

      Try to understand and analyze the performance impact to extended the Grouping API to support the DeltaCompositeKey and return the owners based on the delta aware value key.

      In the current implementation, the interceptors are responsible to check if the key is a DeltaCompositeKey instance and check for the ownership based on the delta aware value key.

      Pros and cons of using an extension of Grouping API

      Pros:

      • this check for DeltaCompositeKey instance is done in a single point instead of being spread in the code.
      • less error prone

      Cons:

      • possible performance impact since all the getSegment(key) invocations should perform the check.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: