mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: [MINA 3.0] Thougts about the selectors
Date Wed, 10 Feb 2010 22:05:10 GMT
On 2/10/10 10:28 PM, Alan D. Cabrera wrote:
>
>> each of those tasks can be processed by a separate thread selected in 
>> a thread pool. IMO, it may be better than the current architecture 
>> where we have a pool of IoProcessor, each one of them having its own 
>> Selector, and no thread to process the events. For instance, if we 
>> have 3 IoProcessor (the default value for a dual core processor), 
>> then we can only process 3 events in parallel. Pretty inefficient...
>
>
> I tried to follow the code for IoProcessor and my brain hurts.  :) 
I share the same feeling ...
> Did I read correctly that the sessions are partitioned between N 
> IoProcessors? 
Absolutely. Round robin.

-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.nextury.com



Mime
View raw message