Jason Gustafson created KAFKA-10684:
---------------------------------------

             Summary: Avoid additional copies in envelope path when 
transmitting over network 
                 Key: KAFKA-10684
                 URL: https://issues.apache.org/jira/browse/KAFKA-10684
             Project: Kafka
          Issue Type: Improvement
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson


When we send an envelope request or response, we first allocate a buffer for 
the embedded data. When we are ready to transmit the data, we allocate a new 
buffer for the full envelope and copy the embedded data to it. We can skip the 
second copy if we are a little smarter when translating the envelope data to 
the network `Send` object.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to