3 Replies Latest reply on Nov 8, 2007 6:55 AM by manik

    Consistent copies of replicated cache?

    dnielben

      Hi,

      How does jbosscache guarantees consistency of replicas?

      Example: If I have one cache C1 on host H1 and I execute:

      C1.put("/a/b", "Key1", "1");
      C1.put("/a/b", "Key1", "2");

      All the replicatec caches are going to see the two events in the same order or it could happen that some replicated caches will see the events in a different order and then I will have inconsistent replicated caches?

      Do I have to change the stack of protocols in to have such guarantee? for example using a total order of events?

      Thanks,
      Daniel