Re: [MINA3] Idle processing

2013-03-22 Thread Julien Vermillard
In DefaultAttributeContainer private final Map, Object> attributes = new HashMap, Object>(); we could use a ConcurrentHashMap, and get rid of the locks no ? On Fri, Mar 22, 2013 at 8:57 PM, Julien Vermillard wrote: > hmm we have a lock on all session attributes, why ? > > > On Fri, Mar 22,

Re: [MINA3] Idle processing

2013-03-22 Thread Julien Vermillard
hmm we have a lock on all session attributes, why ? On Fri, Mar 22, 2013 at 5:54 PM, Emmanuel Lécharny wrote: > Hi, > > as I'm implementing the UDP server, and got really low performances > compared to the same test done on MINA2, I did some profiling. It > appears that the idle processing is a

[MINA3] Idle processing

2013-03-22 Thread Emmanuel Lécharny
Hi, as I'm implementing the UDP server, and got really low performances compared to the same test done on MINA2, I did some profiling. It appears that the idle processing is a bit of a bootleneck, the way it's currently implemented. For instance, we grab the WRITE_IDLE_INDEX from the session attr