You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Igal Shilman (Jira)" <ji...@apache.org> on 2021/08/10 16:13:00 UTC

[jira] [Created] (FLINK-23712) Improve Protobuf serialization performance

Igal Shilman created FLINK-23712:
------------------------------------

             Summary: Improve Protobuf serialization performance
                 Key: FLINK-23712
                 URL: https://issues.apache.org/jira/browse/FLINK-23712
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
            Reporter: Igal Shilman
            Assignee: Igal Shilman


Profiling allocations shows that a quarter of the allocations happens while parsing Protobuf, this happens because the CodedInputStream/CodedOutputStream allocate a 4kb buffer on construction. This can be easily avoided by caching them. 



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