Could you explain me the idea behind sendBufferSize receiveBufferSize options that are used together with bootstrap:
bootstrap.setOption("sendBufferSize", 1048576);
bootstrap.setOption("receiveBufferSize", 1048576);
I noticed they can improve performance of the following code when big-size data is transferred between clients:
// encode method in OneToOneEncoder subclass -> 1st client
ChannelBuffer buffer = ChannelBuffers.buffer(capacity);
buffer.writeInt(myData);
// decode method in FrameDecoder subclass -> 2nd client
int myData = buffer.readInt();
Thanks!