large packets

"이희승 (Trustin Lee)" trustin at gmail.com
Fri Jun 26 13:10:59 EDT 2009


lolwhat wrote:
> Due to how the client stays alive, my server must send the update packet
> every 600-700ms, is there any way aside from
> channel.write(channelbufferobject), to send the packet or is this the only
> way. i am asking because i read somewhere that channel.write causes a
> performance problem, also there will be about 2000 connections, and to all
> that packet must be sent every 600-700ms

Where did you read that? Channel.write() is the only way to write a 
message in Netty.  It should be pretty fast.  Otherwise, let's 
investigate the cause.

HTH

-- 
Trustin Lee, http://gleamynode.net




More information about the netty-users mailing list