Hello.

 

I’ve used mina for a time, and I realize that my app have problem to send an
amount of String messages (over 20.000) to an individual client in a loop.

 

I see that IoHandler message sent event is triggered only for 10 messages
per millisecond. I have debugged the app with different clients, and the
result is approximately the same.

 

For a simple test, I create a simple server to send 10000 String (150 chars)
messages to a client immediately(in a for loop, with the String previously
created). I was looking for the number of messages per millisecond that mina
is able to send (15 approximately, with peaks of 60).  But, then, I've
changed Mina.jar version from 2.0.7 to 2.0.4

 

In this case, the number of messages per millisecond is similar, but the
time to write the 10000 messages in IoSession is 10 times less. (Mina 2.0.7
best case 191msec, Mina 2.0.4 best case 14msec) 

 

Are there any different configuration that I need to add to the last mina
version? Is it a normal behavior between this versions?

 

Is normal this bandwidth in Mina Servers (around 1500B/millisecond ~
1500000B/s) to clients?  Could I increase it in anyway?

 

Thanks a lot.

 

 

 

Reply via email to