jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-4123) Persistent cache: allow to configure the add data concurrency
Date Tue, 15 Mar 2016 13:18:33 GMT

    [ https://issues.apache.org/jira/browse/OAK-4123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15195277#comment-15195277

Thomas Mueller commented on OAK-4123:

The cache writer thread seems unnecessary now, but shouldn't be a big problem.

> Persistent cache: allow to configure the add data concurrency
> -------------------------------------------------------------
>                 Key: OAK-4123
>                 URL: https://issues.apache.org/jira/browse/OAK-4123
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: cache
>            Reporter: Tomek Rękawek
>             Fix For: 1.6, 1.4.1
>         Attachments: OAK-4123.patch
> During operations that creates and reads a large number of nodes (eg. indexing content)
it may happen that there's more items in the asynchronous queue (introduced in OAK-2761) than
the queue consumer can handle. As a result, the queue is purged and items are not saved in
the cache, which makes the overall performance worse.
> An easy fix is to add a property that allows to switch between async/sync mode. By default,
it should be synchronous.

This message was sent by Atlassian JIRA

View raw message