[jboss-user] [JBossCache] - Re: Optimistic Locking
manik.surtani@jboss.com
do-not-reply at jboss.com
Wed Dec 19 09:57:32 EST 2007
What you need is MVCC which is in the pipelines.
With O/L writers will not block readers, but there is the overhead of copying nodes into a workspace to maintain Repeatable_Read semantics.
O/L will allow concurrent writes but this is not fail fast and the 2nd write will throw an exception at commit time when optimistic validation occurs.
Reader threads don't go through the validation phase and a reader will not throw an exception if someone writes at the same time.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114235#4114235
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114235
More information about the jboss-user
mailing list