[infinispan-issues] [JBoss JIRA] (ISPN-7912) Prevent RocksDBStore writes blocking on full expiry queue

Dan Berindei (Jira) issues at jboss.org
Mon May 6 08:57:00 EDT 2019


    [ https://issues.jboss.org/browse/ISPN-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730094#comment-13730094 ] 

Dan Berindei commented on ISPN-7912:
------------------------------------

Maybe we wouldn't need a queue if we could write to the expiration DB directly, without merging with the existing list of values?

We may be able to do that if if we changed the format of the expiration "table" to {{key = <expiration timestamp> + <key bytes>, value = <nothing>}}.


> Prevent RocksDBStore writes blocking on full expiry queue
> ---------------------------------------------------------
>
>                 Key: ISPN-7912
>                 URL: https://issues.jboss.org/browse/ISPN-7912
>             Project: Infinispan
>          Issue Type: Sub-task
>          Components: Loaders and Stores
>    Affects Versions: 9.1.0.Alpha1
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 10.0.0.Final
>
>
> Currently you can only insert 10000 elements into the rocks db store until you will block a thread until the expiration reaper is ran. Instead we should offer elements to the queue and upon failure utilise the persistence executors to run purge.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list