[infinispan-issues] [JBoss JIRA] Commented: (ISPN-359) Provide mechanism for users to control data locality when using DIST

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri Apr 9 05:52:39 EDT 2010


    [ https://jira.jboss.org/jira/browse/ISPN-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12524738#action_12524738 ] 

Manik Surtani commented on ISPN-359:
------------------------------------

@Vladimir do you mean Buddy Replication in JBoss Cache?  This is specifically an Infinispan feature and Infinispan does not support Buddy Replication.  (See http://infinispan.blogspot.com/2009/08/distribution-instead-of-buddy.html )

Regarding load balancers, there has been some talk on exposing the consistent hash mechanism to mod_cluster but this makes things pretty tightly coupled.  A better approach would be for the app server to determine the location of a session (this can be done easily and cheaply via an API on Infinispan) and attach this to the jvmRoute of the session so that mod_cluster can direct the request accordingly.  This would mean 1 "inefficient" dispatch in the event of a failover until the "correct" backup node is located and the jvmRoute updated though.

> Provide mechanism for users to control data locality when using DIST
> --------------------------------------------------------------------
>
>                 Key: ISPN-359
>                 URL: https://jira.jboss.org/jira/browse/ISPN-359
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Distributed Cache
>    Affects Versions: 4.0.0.Final
>            Reporter: Tero Heinonen
>            Assignee: Manik Surtani
>             Fix For: 4.1.0.BETA1
>
>
> Programmable affinity either through:
>  
> 1) statically (e.g. annotating a certain field as the key for consistent hashing)
> - in our case this cannot be based on the hashCode() as the affinity requirement and object identity are not directly related
>  
> 2) dynamically (e.g. providing a overridable/annotatable consistentHashCode() function)
>  
> This would help to assign entities (in multiple Caches), which are needed together in the same nodes (to avoid remote lookups)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list