Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
State access latency metrics are introduced to track all kinds of keyed state access to help debug state performance. This feature is not enabled by default and could be turned on once setting `state.backend.latency-track.keyed-state-enabled` as true.
Description
This ticket is extended from FLINK-16444 which wants to track latency of RocksDB options. However previous ticket has two problems:
- Cannot apply to heap based state backend and other user customized state backend.
- User need background knowledge to know what RocksDB operation corresponding to what state operation, e.g RocksDB adoptsĀ merge to act as listState#add.
Thus, I prefer to introduce latency tracking state wrapper to detect the access latency. And to not impact the original state access, I would still use sample interval as previousĀ FLINK-16444 did.
Attachments
Attachments
Issue Links
- is related to
-
FLINK-22528 Document latency tracking metrics for state accesses
- Resolved
- relates to
-
FLINK-16444 Count the read/write/seek/next latency of RocksDB as metrics
- Resolved
- links to