Le 2/22/14 5:06 PM, Max Larsson a écrit :
> Hi,
>
> The logs i based my investigation on are from a a stress test. And
> the external measurement has the same result.
>
> Actually the timing from receiving,proceesing,session.write the commands
> is very constant on my side (~2ms). The time between session.write and
> messageSent event is normally about 70ms, but sometime the elapsed
> time is very low (~2ms). And because the aim is to reach a complete
> command/response cycle within 10ms, i'm trying to figure out why
> mina is taking so long to process from session.write to messageSent.

Can you tell us a bit more on :
- the OS you are running (client and server)
- the network bandwith
- the message (received and sent) size

2ms is slow if you transit small messages. FTR, on a 10 Mbs network, you
should be able to transmit 10000 messages of 100 bytes per second, mor
or less, with a latency below 1ms. And 70ms is extremelly slow...

FYI, I'm able to handle more than 13 000 LDAP message per second on a
100 Mb/s network, on a 2011 MacBookPro...

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

Reply via email to