On Wed, Oct 29, 2008 at 3:27 AM, Erix Yao <[EMAIL PROTECTED]> wrote: > I see. But according to Scalable Java I/O, I think using a reactor pattern > and SEDA will help improve the performance.
As Emmanuel pointed out, MINA is based on the reactor pattern. As for SEDA, I'm not convinced that it's a good choice for us. Partly because of the increased complexity and partly because I think it would lead to increased latency. But, we need to measure, measure, measure before we know anything. At this point, I haven't done any performance optimizations at all. Premature optimizations and all that :-) > As far as I know, the Listener interface is acting as a reactor, using > NioAcceptor provided by MINA, but the rest of the work except the network > handling are excuted in the thread pool. But the excution model is still the > first model in Scalable Java I/O. Any improvements can be done? The only thing I know is that lots of improvements can be done :-) /niklas