[jboss-user] [JBossCache] - Large node set population performance
ben_ben
do-not-reply at jboss.com
Thu Jun 7 06:28:57 EDT 2007
Hi,
We're using Jboss Cache to cache the details of a large number of users (~50,000). Once populated the cache performance is fine and there are no problems. However, populating the cache in the first place is an extremely time-consuming process.
Data is gathered through a JDBC call and takes approximately 2 seconds to create 1000 objects to cache. As the result set is processed it takes the same amount of time to process the last 1000 as it did the first 1000. The problem comes when populating the cache. Adding the objects to the cache takes progressively longer, the first 1000 objects takes around 5 seconds but by the time it gets up to loading the 20th set of 1000 objects it takes close to a minute. The problem gets progressively worse the more objects are added to the cache.
How can I increase the loading performance? Should I be arranging the nodes in the TreeCache in a certain way? Are there any relevant settings to play about with?
Thanks
Ben
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052045#4052045
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052045
More information about the jboss-user
mailing list