masteryhx commented on code in PR #24740: URL: https://github.com/apache/flink/pull/24740#discussion_r1590609918
########## flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStKeyedStateBackendBuilder.java: ########## @@ -54,7 +59,14 @@ public class ForStKeyedStateBackendBuilder<K> protected final Logger logger = LoggerFactory.getLogger(getClass()); + private static final int KEY_SERIALIZER_BUFFER_START_SIZE = 32; + + private static final int VALUE_SERIALIZER_BUFFER_START_SIZE = 128; Review Comment: It's just an empirical number which is consistent with RocksDBStateBackend. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org