Hi guys,

today, I spent some time debugging MINA, and doing some perf tests (minimal ones). I was chasing a bug in the way messages are written back to client. It appeared that in order to send the messageSent event, we had to reset the buffer we just sent (otheriwse the filters have no way to get the content of this buffer). The problem is that the buffer remained reset, and MINA thought that it should be processed again (but not send again, hopefully). By repositionning the buffer to its previous position, I was able to speed up the server by 5%.

Not too bad... I'm sure there are many areas where we can improve the server. let's do that whne 2.0 will have been released !

--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com


Reply via email to