On Feb 22, 2012, at 2:57 PM, Manik Surtani wrote:
On 22 Feb 2012, at 13:53, Galder Zamarreño wrote:
>>>
>>> Client A when it receieves the notification it realises that the notification
is not originated locally and can decide to delete the key from the near cache.
>>
>> Client A and Client B are two threads in the same VM as the embedded cache with a
remote cache store?
>
> Maybe, but not necessarily. It could very easily happen that Client A and Client B
are running on the same machine but in different VMs.
Ok, just trying to understand your use case. So we assume Client A and Client B are
different JVMs, with different Infinispan instances, but talking to the same Hot Rod
servers via the RemoteCacheStore?
Yeah, for example, Client A and Client B could be two AS7 instances clustered that are
running on the same machine, possibly part of a bigger cluster. Granted, if you have a
cluster set betwen these two AS7 instances already, you could just cluster the near caches
and avoid the need for notifications. However, I don't think the use case I hinted
above seems that far fetched.
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache