[jboss-dev-forums] [Design of JBossCache] - Re: Optimistic locking doesn't scale well with large 'flat'
jason.greene@jboss.com
do-not-reply at jboss.com
Tue Jul 3 12:43:23 EDT 2007
anonymous wrote :
| anonymous wrote :
| | In the entity caching use case, the map is 100% sure to be read, so a lazy copy doesn't gain anything.
| |
|
| To clarify, Does it ever call Node.getChildren() or Node.getChildrenNames? What I was meaning was that a direct node lookup (like "/a/b") can use the actual real node's child map, only a direct child map access by the application would require copying.
|
Just realized, i am guessing the case you describe does alot of writes though, which would have to force a copy, so this is not a good approach.
-Jason
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060074#4060074
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060074
More information about the jboss-dev-forums
mailing list