[jboss-user] [JBoss Cache] - Synchronous cache & consistency

Adam Fitzgerald do-not-reply at jboss.com
Wed May 11 13:45:06 EDT 2011


Adam Fitzgerald [http://community.jboss.org/people/afitzms] created the discussion

"Synchronous cache & consistency"

To view the discussion, visit: http://community.jboss.org/message/604796#604796

--------------------------------------------------------------
Hi,

I have some questions about the behavior of a clustered (sync replicated), configured with a sync singleton store CacheLoader.  The cache would be used transactionally and we want to ensure as high a degree of consistency as possible, both between cache instances within the cluster and the persistent store.

The modifications to the cache are replicated upon commit, are changes replicated to the other instances in the cluster sequentially or concurrently? Is the commit failed if the replication fails to some instances?  Are the changes to the successfully replicated instances rolled back?

With the CacheLoader configured as a singleton store with sync writes (and sync replication), if the cache instance elected to do the writing fails what happens to transactions that try to commit during the failover/election period (do they fail)? After the election, with pushStateWhenCoordinator=true, are transactions blocked during the writing of in memory state to the persistent store?  If not why is there a timeout?

Thanks in advance!

Adam
Hi,
I have some questions about the behavior of a clustered (sync replicated), configured with a sync singleton store
CacheLoader.  The cache would be used transactionally and we want to ensure as high a degree of consistency as possible, both
between cache instances within the cluster and the persistent store.
The modifications to the cache are replicated upon commit, are changes replicated to the other instances in the cluster
sequentially or concurrently? Is the commit failed if the replication fails to some instances?  Are the changes to the
successfully replicated instances rolled back?
With the CacheLoader configured as a singleton store with sync writes (and sync replication), if the cache instance elected
to do the writing fails what happens to transactions that try to commit during the failover/election period (do they fail)?
After the election, with pushStateWhenCoordinator=true, are transactions blocked during the writing of in memory state to the
persistent store?  If not why is there a timeout?
Thanks in advance!Adam
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/604796#604796]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110511/7159d9aa/attachment.html 


More information about the jboss-user mailing list