I'm trying to get my head around the way that MINA 1.1.7. configuration is meant to work.
The current implementation I'm using is basically the default implementation. No arg SocketAcceptor() constructor, with no ExecutorFilter in the filter chain. This leads to the AnonymousIoService thread pool that I observe in the thread dumps. However if I look at this: http://mina.apache.org/configuring-thread-model.html it appears I am not using the correct strategy, and the suggestion is to disable the default threading model and instead specify separate Executor thread pools. If I understand it correctly, there appears to be 1 IoAcceptor thread, N IoProcessor threads (N being the number you specify, suggested to be #CPU's + 1) and then an executor threadpool to do the 'work'. What I'm struggling to understand is why the IoAcceptor requires a threadpool in addition to the ExecutorFilter threadpool. What is the IoAcceptor threadpool used for? If there's only 1 IoAcceptor threads, and (in my case) 3 IoProcessor threads, then what is the threadpool used for? Furthermore, what is the consequence of this approach using an ExecutorFilter over the current default approach I'm using. I'll leave it there for now, and follow up with further questions if the list will pardon my current ignorance. Thanks, Darryl
