public BoundedByteBufferSend duplicate() {
    return new BoundedByteBufferSend(buffer.duplicate());
  }
A byte buffer version of Send to buffer the outgoing responses before sending.
This is mainly used to optimize serialization of response objects on the request handler
threads rather than the network threads.
ambry-api/src/main/java/com/github/ambry/network/BoundedByteBufferSend.java