[infinispan-issues] [JBoss JIRA] (ISPN-3189) Extend Grouping API to mapping of DeltaCompositeKeys to the same node as the delta aware value key

Pedro Ruivo (JIRA) jira-events at lists.jboss.org
Wed Jun 5 05:15:55 EDT 2013


Pedro Ruivo created ISPN-3189:
---------------------------------

             Summary: Extend Grouping API to mapping of DeltaCompositeKeys to the same node as the delta aware value key
                 Key: ISPN-3189
                 URL: https://issues.jboss.org/browse/ISPN-3189
             Project: Infinispan
          Issue Type: Enhancement
          Components: Fine-grained API
    Affects Versions: 5.3.0.CR1
            Reporter: Pedro Ruivo
            Assignee: Pedro Ruivo
            Priority: Minor
             Fix For: 6.0.0.Final


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list