[jboss-user] [JBossCache] - Re: CacheLoader for very large data store
do-not-reply at jboss.com
Wed Jan 17 09:48:12 EST 2007
loadEntireState() is used to transfer state to new cache instances in the cluster (unless you're using a shared cache loader - one where every instance points to a shared physical data store such as a database - in which case this won't be called)
CacheLoader.get() is called in a number of cases, including TreeCache.put() TreeCache.remove(Fqn fqn, Object key) so it is quite necessary.
If you have a very large number of attributes it may make sense to break up the attributes and spread them across different nodes. Improves concurrency and gives you finer grained control when it comes to passivating to disk.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002816#4002816
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002816
More information about the jboss-user