You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/11/05 05:38:00 UTC
[jira] [Created] (KAFKA-10684) Avoid additional copies in envelope
path when transmitting over network
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)