On 02/11/06, lneves <[EMAIL PROTECTED]> wrote:
I tried to test your code, but DIRMINA-290 introduced API changes and your
SocketIOProcessor does not compile against Mina-HEAD.

Ah, we'll update the code tomorrow to work with trunk.

- can you please tell us how does this "Multi threaded SocketIOProcessor" 
relates to
the "ReadWriteThreadModel" that Robert Greig (also from the QPid project?) 
introduced
some time ago?

They are orthogonal. The ReadWriteThreadModel changes the thread pool
used in the filter so that writes are also threaded. The
SocketIoProcessor change introduces two threads per SocketIoProcessor
to combat the starvation problems we had seen.

We did try keeping a single thread per socketIoProcessor and just be
cleverer to avoid starvation but that caused more problems than it
solved.

RG

Reply via email to