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