On 5/3/07, Martin Ritchie <[EMAIL PROTECTED]> wrote:
The Qpid project developed just such a multi threaded SocketIOProcessor,

https://issues.apache.org/jira/browse/DIRMINA-301

This creates two worker threads, one to read from the socket and one
to write data to the socket. We did see an improvement in performance
but only when run a machine with sufficient cpus to handle the extra
threads.

We are going to be upgrading our Mina shortly and will be retesting
the performance difference with this MultiThreadedIOProcessor against
the default single threaded Mina Processor.

Any problems with the code feel free to give me a shout. As Mina has
moved on somewhat since I first wrote this.

Actually we didn't make any big improvement in the SocketIoProcessor
implementation.  Running some test after limiting the amount of data
written at once per session might make the performance test result
more fair.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to