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
https://community.jboss.org/docs/DOC-15544 together with https://github.com/infinispan/infinispan.git should provide you with the answers you're looking for