[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Combined codec and packet

timfox do-not-reply at jboss.com
Fri May 9 12:44:47 EDT 2008


"trustin" wrote : 
  | Hmm, or MINA could provide a concurrent hash map backed implementation out of the box (although it will not be the default).
  | 

I like the idea of MINA having some config switch boolean "useConcurrentSessionMap" which if true uses a ConcurrentHashMap and if false uses the synchronized map. Then the user can choose which to use based on their number of expected connections and available RAM. This can default to false to preserve current behaviour.

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

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



More information about the jboss-dev-forums mailing list