Zero Copy
Ankushb
ankushb at gmail.com
Fri Apr 23 13:54:22 EDT 2010
Hi All,
I am newbie to Netty, Can someone please explain to me how Netty follows the
zero copy rule. Suppose I want to store all the bytes that are coming from
server and I am doing this in "decode" method of FrameDecoder and copying
all the bytes from ChannelBuffer to my inMemory Queue. How many memcopy will
be happen in this procedure? Is there any alternative way to reduce this and
optimize the client performance, I am getting speed of 6-7 MBps and I want
to increase it to 20MBps.
PS: Also Its a multicast client using DatagramChannel.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Zero-Copy-tp4951824p4951824.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list