|
Hello everybody. Actually starting this year we decided to
use Netty to support a server we are currently building, about eight months
later when we were building the first application to run into this server we
realized we are having problems with the message ordering, I mean, code is
written in a sequential order, but anyway events are being triggered in a
random order. Analyzing the issue we realized the problem is related to the
threading pool Netty uses, actually it is something like many events being
triggered in a synchronous way, but when they get to Netty it
might use all available resources to send all the answers for all the events by
different channels (network connections), so this is causing the client
application to receive the messages in the wrong order. I changed the number of
IoThreads and this solved the issue, but at the same time this reduced the
performance of the server as I think it was expected. So basically we have 2 approaches to solve this issue: modify Netty
classes trying to link each client application with one channel (with all the
considerations this might lead), or upgrading Netty by Mina. So here is where
my question arises, have any one have any experience like this or know if the
latest version of Mina might solve this issue?. Actually the answer to this
question is very important because of the time each approach might take, so we’d
like to have some confidence about the way we decide to proceed to give a
solution to this issue. Thank you so much for your help, Oscar Herrera S. _________ |
- [mina] Upgrading from Netty 2.1 to Mina Oscar Herrera
- Re: [mina] Upgrading from Netty 2.1 to Mina Julien Vermillard
- Re: [mina] Upgrading from Netty 2.1 to Mina Trustin Lee
- RE: [mina] Upgrading from Netty 2.1 to Mina Oscar Herrera
