Slow writes from outside an I/O-worker?
ArvidSvensson
arvid.svensson at gmail.com
Wed Sep 21 15:27:21 EDT 2011
Norman Maurer-2 wrote:
>
> Im almost sure thats because of this:
>
> future.awaitUninterruptibly();
>
> This will give you some overhead...
>
> bye
> norman
>
>
Thanks, I accidentally replied to only you so for the record, here's the
long re-reply:
I'm connecting clients to a server. The server burst messages to the
clients. If I don't have the next message ready when getting the
ChannelFuture#operationCompleted callback is called I'm forced to call
Channel#write from outside the I/O-worker later on. My problem is that it's
expensive to start the bursts. I have "subscription" objects holding on to
Channels. Whenever the server have a new value to a "subscribed" data it
sends a message through Netty on the corresponding Channel#write.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Slow-writes-from-outside-an-I-O-worker-tp6817213p6817443.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list