[ https://issues.apache.org/jira/browse/FLINK-9702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714627#comment-16714627 ]
ASF GitHub Bot commented on FLINK-9702: --------------------------------------- StefanRRichter commented on issue #7210: [FLINK-9702][State Backends, Checkpointing] Improvement in (de)serialization of keys and values for RocksDB state URL: https://github.com/apache/flink/pull/7210#issuecomment-445791764 Thanks for your help in finishing this issue! If you don't mind, I will add some more commits from my original branch https://github.com/StefanRRichter/flink/commits/serialiation-improvements that are not included here and then finalize and merge this. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Improvement in (de)serialization of keys and values for RocksDB state > --------------------------------------------------------------------- > > Key: FLINK-9702 > URL: https://issues.apache.org/jira/browse/FLINK-9702 > Project: Flink > Issue Type: Improvement > Components: State Backends, Checkpointing > Affects Versions: 1.6.0 > Reporter: Stefan Richter > Assignee: Congxian Qiu > Priority: Major > Labels: pull-request-available > > When Flink interacts with state in RocksDB, object (de)serialization often > contributes significantly to performance overhead. I think there are some > aspects that we can improve here to reduce the costs in this area. In > particular, currently every state has to serialize the backen's current key > before each state access. We could reduce this effort by sharing serialized > key bytes across all state interactions. Furthermore, we can reduce the > amount of `byte[]` and stream/view that are involved. -- This message was sent by Atlassian JIRA (v7.6.3#76005)