as I'm using RocksDB as state backend to my Flink job and I'm configuring parameters of this state backend, I've read in this page of Flink that I have two options to keep my timers (rocksDB or heap), and I have read the explanation but still missing what means this part of it:
"However, maintaining timers in RocksDB can have a certain cost, which is why Flink provides the option to store timers on the JVM heap instead, even when RocksDB is used to store other states. Heap-based timers can have a better performance when there is a smaller number of timers."
- what kind of cost is this that they mentioned here (latency)?
- What means smaller number of timers (can be measured in somehow this number and what could be the maximal number of timers allowed in heap)?