1 Reply Latest reply on Aug 23, 2012 3:16 AM by galder.zamarreno

    putCommand

    usydrajani

      HI

      I want to know how  an update to a database is done when cache is in invalidation mode and when it is in replication mode(both sync, async) Can some one please send me a simple algorithm of an update/modification

       

      Infinispan in Invalidation Mode

      when I want to insert/modify some data with ejb entity, 

      1 Does it invalidate data in the cache and then goes to the database and update over there?

       

      Infinispan in Replication Mode

      when I want to insert/modify some data with ejb entity, 

      2. Does it replicate data(in local and Across the cluster ) and then update the data to the database? what happens in case of failure.

       

      Thanks