> From: Christopher Popp [mailto:[email protected]]
> Sent: Wednesday 10 Jun 2009 11:22
> To: [email protected]
> Subject: Re: MINA and threads
> 
> I think you might be confusing the thread model a bit...with MINA you
> don't need a thread per client.  There is one thread listening which
> handles accepting connections.  There are then a configurable pool of
I/O
> handling threads (defaulting to # of cores +1) which handle incoming
> messages.  Optionally, you can specify an ExecutorFilter in your
filter
> chain if you want another pool of threads available later in case you
> expect this would benefit your application logic.

Ok, thanks for the clarification Christopher.

> So...at a minimum, you could configure MINA to only use two threads
(one
> for accepting, and one for processing I/O), and have that handle any
> number of connected clients.

Then it is clear I was not understanding MINA's architecture. Thanks
again for laying it down for me.

> Chris Popp
 
-- 
Gonzalo Diethelm
DCV - Chile

Reply via email to