You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Mark <el...@gmail.com> on 2007/10/01 05:08:45 UTC

Re: multiple handlers per IoService

Trustin,

Shall I open entries in JIRA for a Selector Pool class and a Service worker
pool class?  Sounds like you are more in tune with what you want to do.  I
think it would make more sense for you to add in the entry(s).

Thanks,
Mark

On 9/25/07, Trustin Lee <tr...@gmail.com> wrote:
>
> No, not yet.  It's must to have in 2.0 though. :)
>
> Cheers,
> Trustin
>
> On 9/25/07, Mark <el...@gmail.com> wrote:
> > As long as the size of the pool could = 1.
> >
> > Has any work been done on this?
> >
> > Thanks Trustin.
> >
> > --
> > ..Cheers
> > Mark
> >
> > On 9/25/07, Trustin Lee <tr...@gmail.com> wrote:
> > >
> > > On 9/25/07, Mark <el...@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.
> > >
> > > Cheers,
> > > Trustin
> > > --
> > > what we call human nature is actually human habit
> > > --
> > > http://gleamynode.net/
> > > --
> > > PGP Key ID: 0x0255ECA6
> > >
> >
>
>
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>



-- 
..Cheers
Mark