[jboss-user] [JBossCache] - Exception when a cluster node joins under load

2008-01-14 Thread ne_vasya
Hi, I have cache configured with INVALIDATION_SYNC policy and get the following error when a 2nd cluster node starts up under load: | java.lang.IllegalStateException: Cache not in STARTED state! | at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3929) | at org.jboss

[jboss-user] [JBossCache] - What happens if number of buddies is 0 and Data Gravitation

2008-01-14 Thread ne_vasya
What happens if number of buddies is 0 and Data Gravitation set to True? Would the data still be gravitated. In particular, what if cluster node N1 receives a request for data keyed by K1 and the K1 currently resides on N2. Will the data for K1 be moved from N2 to N1? If this cannot be achieved

[jboss-user] [JBossCache] - Re: Affinity Data Partiotioning

2008-01-11 Thread ne_vasya
Replying to my own post :) I think this link provides a very nice solution: http://weblogs.java.net/blog/tomwhite/archive/2007/11/consistent_hash.html Best. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118969#4118969 Reply to the post : http://www.jboss.

[jboss-user] [JBossCache] - Affinity Data Partiotioning

2008-01-10 Thread ne_vasya
Hi, I am trying to segment data over a set of JBoss caches having approximately even data distribution. Is anyone aware of a good dynamic hashing function that would provide good data affinity. For example, let's say I segment data over N nodes. When node N+1 joins, I would like a portion of

[jboss-user] [JBossCache] - Re: How to use fully-eplicated and buddy-replicated caches w

2008-01-07 Thread ne_vasya
I initially intended to use different regions under root, but can I have different replication policies for different regions? For example, can I have one region with full replication and another region with buddy replication? Thanks, Dmitriy View the original post : http://www.jboss.com/inde

[jboss-user] [JBossCache] - How to use fully-eplicated and buddy-replicated caches with

2008-01-07 Thread ne_vasya
Hi, I have a case where I need to fully replicate some data, but not all. I understand that I could configure 2 different caches, but that would imply that I need to configure 2 different JGroups channels which makes me a bit uneasy for following reasons: 1. What if at some point 2 JGroups ch