mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee" <trus...@gmail.com>
Subject Re: multiple handlers per IoService
Date Tue, 25 Sep 2007 16:02:00 GMT
On 9/25/07, Mark <elihusmails@gmail.com> wrote:
> Wouldn't it make sense to multiplex a Selector across multiple channels in
> order to efficiently manage threads since you can have multiple channels
> being monitored by one selector.  You could have 10 channels, 1 selector in
> the main thread and 1 I/O thread.  Currently, 10 channels would mean 10
> selectors each in their own thread.

Yes, that's what I am saying.  By managing a global pool of selectors
and I/O processors, we could optimize thread usage.

what we call human nature is actually human habit
PGP Key ID: 0x0255ECA6

View raw message