[ 
https://issues.apache.org/jira/browse/FLINK-10068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582781#comment-16582781
 ] 

ASF GitHub Bot commented on FLINK-10068:
----------------------------------------

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_r210660176
 
 

 ##########
 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`.
+Possible choices are `HEAP` (to store timers on the heap, default) and 
`ROCKSDB` (to store timers in RocksDB).
 
 Review comment:
   They are the names of some enum constants, but we are case-insensitive when 
evaluating them.

----------------------------------------------------------------
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]


> Add documentation for async/RocksDB-based timers
> ------------------------------------------------
>
>                 Key: FLINK-10068
>                 URL: https://issues.apache.org/jira/browse/FLINK-10068
>             Project: Flink
>          Issue Type: Sub-task
>          Components: State Backends, Checkpointing
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>            Priority: Major
>              Labels: pull-request-available
>
> Documentation how to activate RocksDB based timers, and update that 
> snapshotting now works async, expect for heap-timers + 
> rocks-incremental-snapshot).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to