Ok, so now that I have successfully implemented a plain JBossCache within JBoss 3.2.6, I have some basic, performance related questions. 1. In the plain JBossCache, it looks like I need to do a put everytime after an object is changed. Is that right? For example, if I have a vector assigned as value to a key, then in order to add an element in the vector, I need to do a put(fqn, key, myVector) after every change. Am I correct? 2. If #1 is correct, then does the replication take place on the entire object every time, or does is somehow only replicate the incrementals? 3. I am mostly using JBossCache to store the state information of my class. Right now, the class is a POJO. What is better performance wise - convert the POJO into a stateful session bean and use SFSN in state memory replication, or use TreeCache? 4. Are there any performance timings/statistics available for put and get using plain TreeCache? 5. What is the performance impact of doing a get on the TreeCache vs doing a get on a local hashmap? Is it worthwhile to invalidate the cache and only get values from cache is something has changed?
I guess thats a lot of questions. All answers are deeply appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870472#3870472 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870472 ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
