It's absolutely unefficient to store a whole table in a single node - 
Transactional locking, eviction and Cacheloading work on Node-level, not 
key/value-pair level. As a result every 'put(Fqn,key,value)' would lock your 
entire data if the Fqn being used is a constant.

You are better of if you map the primary-keys of your table to different Fqn's 
(respectivly nodes in the tree) and the values from the rows of your table to 
the attributes stored in the node.

This way access to a node will load a single row from the db.

Then you may specify appropriate timeouts for evictionpolicy to evict data from 
rarely accessed rows by evicting the corresponding nodes.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856066#3856066

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856066


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to