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

Persistent cache: consider using callstack blocking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 1.6.0
    • cache

    Description

      In the current implementation of the asynchronous add operation in persistence cache, data are added to a queue and if the queue is full, the oldest entries are removed (see OAK-2761).

      It may deteriorate the system performance in some cases (OAK-4123). Let's consider a different approach, in which we block the caller thread in case the queue is full.

      Attachments

        1. OAK-4124.patch
          12 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: