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)