You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "zhijiang (Jira)" <ji...@apache.org> on 2020/02/10 07:27:00 UTC

[jira] [Created] (FLINK-15963) Reuse the same ByteBuf while writing the BufferResponse header

zhijiang created FLINK-15963:
--------------------------------

             Summary: Reuse the same ByteBuf while writing the BufferResponse header
                 Key: FLINK-15963
                 URL: https://issues.apache.org/jira/browse/FLINK-15963
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Network
            Reporter: zhijiang


On sender side while writing the BufferResponse message, it always allocates the new direct ByteBuf from netty allocator to write header part for every message.

Considering only one message is written in one channel at the same time, then we can make use of a fixed ByteBuf to write header part for all the BufferResponse messages. We can verify how it effects the performance in practice/benchmark.



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