David Morávek created BEAM-11435:
------------------------------------
Summary: Reuse already set timers instead of recreating them in
Flink Streaming Runner
Key: BEAM-11435
URL: https://issues.apache.org/jira/browse/BEAM-11435
Project: Beam
Issue Type: Bug
Components: runner-flink
Affects Versions: 2.25.0, 2.24.0, 2.23.0
Reporter: David Morávek
Assignee: David Morávek
When we re-set a timer, new timer goes trough following life-cycle:
1) Find previously set timer with the same id
2) Cancel any previously set timer with the same id
3) Set a new timer
We can skip 2) and 3), if the new timer is the same as previously set timer.
There should be a great performance impact on GC timers, especially with
RocksDB backend, where 2) and 3) are expensive operations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)