Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-20 Thread Manik Surtani
On 17 Jun 2011, at 13:49, Mircea Markus wrote: But yes, there is no reason why we can't replace this with RPC as per Distribution, however I think we do need a streaming solution - not just for replication but distribution as well. As such I'd only want to re-implement this bit once,

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-17 Thread Mircea Markus
On 9 Jun 2011, at 15:26, Manik Surtani wrote: We use partial state transfer not to generate partial state per cache, but the entire state per cache, but since we have 1 cache sharing a given JGroups channel, as far as JGroups in concerned this *is* partial state of a node. I.e., the

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-17 Thread Bela Ban
On 6/17/11 2:49 PM, Mircea Markus wrote: Now this might sound a bit too radical but do we really need REPLICATED mode? This is not fully brewed, but if e.g. we set numOwners = Integer.MAX_INTEGER the cluster is effectively in replicated mode, so can't we just drop the REPLICATION

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-17 Thread Paul Ferraro
On Wed, 2011-06-01 at 16:46 +0200, Bela Ban wrote: On 6/1/11 4:21 PM, Sanne Grinovero wrote: Hi Bela, 2011/6/1 Bela Banb...@redhat.com: We currently use JGroups' partial state transfer to transfer individual caches from one Infinispan instance to another. Since I got rid of

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-09 Thread Manik Surtani
We use partial state transfer not to generate partial state per cache, but the entire state per cache, but since we have 1 cache sharing a given JGroups channel, as far as JGroups in concerned this *is* partial state of a node. I.e., the state of just 1 cache on a channel, not all the caches.

[infinispan-dev] Partial state transfer in Infinispan

2011-06-01 Thread Bela Ban
We currently use JGroups' partial state transfer to transfer individual caches from one Infinispan instance to another. Since I got rid of partial state transfer in JGroups 3.0, and don't like to add it back, I'd like to know whether this is still needed. I thought that we currently require

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-01 Thread Sanne Grinovero
Hi Bela, 2011/6/1 Bela Ban b...@redhat.com: We currently use JGroups' partial state transfer to transfer individual caches from one Infinispan instance to another. Since I got rid of partial state transfer in JGroups 3.0, and don't like to add it back, I'd like to know whether this is still

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-01 Thread Bela Ban
On 6/1/11 4:21 PM, Sanne Grinovero wrote: Hi Bela, 2011/6/1 Bela Banb...@redhat.com: We currently use JGroups' partial state transfer to transfer individual caches from one Infinispan instance to another. Since I got rid of partial state transfer in JGroups 3.0, and don't like to add it

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-01 Thread Mircea Markus
Why are we actually using JGroups' state transfer with replication, but use our own state transfer with distribution ? I don't know, but guess it's because each node has a different set of keys so no node has the same state as another ? You could still use JGroups state transfer;

Re: [infinispan-dev] Partial state transfer in Infinispan

2011-06-01 Thread Bela Ban
On 6/1/11 6:05 PM, Mircea Markus wrote: Why are we actually using JGroups' state transfer with replication, but use our own state transfer with distribution ? I don't know, but guess it's because each node has a different set of keys so no node has the same state as another ? You could