[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) issues at jboss.org
Mon Sep 16 06:58:00 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo closed ISPN-3189.
-----------------------------
    Resolution: Out of Date


{{DeltaCompositeKey}} was removed.

> 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: Core
>    Affects Versions: 5.3.0.CR1
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>            Priority: Minor
>
> 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 was sent by Atlassian Jira
(v7.13.5#713005)


More information about the infinispan-issues mailing list