Long ChannelGroup.write() times

Squigly squigly at gmail.com
Wed Mar 17 16:04:49 EDT 2010


Hello good ppl.

I have the following strange problem, hopefully someone can help.
1. I'm sending using ChannelGroup.write(Obj) through the loopback device.
2. I've wrote a little ChannelGroupFutureListener that only prints the
elapsed time between when it was created to when the network operation has
finished.
I'm getting HUGE diffs in times, some looks even strange (either 0.5 millis,
10, 30, and even 140 milis).
3. (I'm sending protocol buffer messages of about 100 bytes)
4. Playing with sendbuffersize improved the problem just a little bit though
I'm still seeing elapsed time of 10 20 and more, though less.

Running the *exact* same scenario from eclipse, give me 0.2 milis times,
with almost no deviations.

I have no idea what's going on, or even if I'm right on how to check the
exact sending time.

Will appreciate any input,
Best regards.
-- 
View this message in context: http://n2.nabble.com/Long-ChannelGroup-write-times-tp4752697p4752697.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list