On 9/5/11 10:06 AM, Antonio Rodriges wrote:
Emmanuel,
is there a detailed explanation of Mina thread model?
Would we have such explanation on the web site, you wouldn't have posted
such questions on the ML, and I wouldn't have spent some time trying to
explain how it works :)
MINA doco sucks, that's a fact, and it's hard to improve it...
It would be
great to see a picture of it. As for IoProcessor I found only
http://mina.apache.org/ioprocessor-loop.html it is not very helpful. I
read all introductions, tutorials, etc assessable from Mina home page
and still have vague idea of ExecutorFilter.
ExecutorFilter and IoProcessor are two different species. Right now,
just forget about Executor : make your code working without taking care
of such things, and see if you have perfomances issues. You generally
won't need to include such things into your application, unless you
have to deal with ten of thousands connections, and thousands of
messages per second...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com