This content has been marked as final.
Show 3 replies
-
1. Re: Consistent copies of replicated cache?
manik Nov 7, 2007 7:21 PM (in response to dnielben)Depends on how you configure and use your cache. E.g., if you use synchronous replication or wrap the calls in a transaction (or both) you'd pretty much guarantee that the other instances see it in the same order.
-
2. Re: Consistent copies of replicated cache?
dnielben Nov 8, 2007 5:59 AM (in response to dnielben)So, but in the case of synchronous communication if my two instructions arrive from different hosts Ex:
Host1:
C1.put("/a/b", "Key1", "1");
Host2:
C1.put("/a/b", "Key1", "2");
Can we guarantee that we are going to receive booth messages in the same order in all hosts?
Thanks,
Daniel -
3. Re: Consistent copies of replicated cache?
manik Nov 8, 2007 6:55 AM (in response to dnielben)If they are from different hosts, then no. We don't acquire a cluster-wide lock when you invoke the call.