[jboss-user] [JBoss Cache: Core Edition] - Re: BerkeleyDB Deadlock Exception from JBoss Cache Loader: B

niuxuetao_fiserv do-not-reply at jboss.com
Tue Jul 21 07:42:28 EDT 2009


I just realized that since I am using Pojo cache, I am not sure how Pojo cache creates the FQN when I pass a string id to the PojoCache.attach(String id,Object obj). 

Suppose I pass id as "X/Y" what FQN will be really created?

What will be the performance impact if I have 10-20 variations of "X" and for each X I have 1000,000 variations of "Y"? 

I thought Pojo cache would use X as FQN and Y as the map key when it invokes the core cache, which could be very wrong...

How would I deal with the segmentation of the id strings when I am using Pojo cache for good performance?

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

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



More information about the jboss-user mailing list