StefanRRichter commented on a change in pull request #6504: [FLINK-10068][docs]
Add documentation for RocksDB-based timers and st…
URL: https://github.com/apache/flink/pull/6504#discussion_r210659823
##########
File path: docs/ops/state/large_state_tuning.md
##########
@@ -142,6 +142,17 @@ by default. To enable this feature, users can instantiate
a `RocksDBStateBackend
new RocksDBStateBackend(filebackend, true);
{% endhighlight %}
+**RocksDB Timers**
+
+For RocksDB, user can chose whether timers are stored on the heap (default) or
inside RocksDB. Heap-based timers can have a better performance for smaller
amounts of
+timers, while storing timers inside RocksDB offers higher scalability as the
amount of timers in RocksDB can exceed the available main memory (spilling to
disk).
+
+When using RockDB as state backend, the type of timer storage can be selected
through Flink's configuration via option key
`RocksDBOptions.TIMER_SERVICE_FACTORY`.
Review comment:
We decided to have this per-cluster first, but I could also see points for
making it also available per-job in the near future.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services