[jboss-user] [JBossCache] - Re: Problems with NodeLocking algorithm
do-not-reply at jboss.com
Mon Sep 10 18:11:37 EDT 2007
The simplest solutions are always the best ;) Yes, REPETEABLE_READ +lockParentForChildInsertRemove really resolves this issues.
But now, it's impossible to parallel put data into 2 separates nodes :(
i.e. cache has /a/b/c node
Thread-0: put into /a/b/c/X
Thread-1: put into /a/b/c/Y
Both threads are trying create children into c node, but Thread-1 must waits for Thread-0....
I have tried to use READ_COMMITED (for performance reasons) but looks that for now this is impossible without code modification.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082796#4082796
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082796
More information about the jboss-user