Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4123

Persistent cache: allow to configure the add data concurrency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.18, 1.4.1, 1.5.0, 1.6.0
    • cache
    • None

    Description

      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.

      Attachments

        1. OAK-4123.patch
          3 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: