Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2829 Comparing node states for external changes is too slow
  3. OAK-3002

Optimize docCache and docChildrenCache invalidation by filtering using journal

    XMLWordPrintableJSON

    Details

      Description

      This subtask is about spawning out a comment on OAK-2829 re optimizing docCache invalidation using the newly introduced external diff journal:

      Attached OAK-2829-improved-doc-cache-invaliation.patch which is a suggestion on how to avoid invalidating the entire document cache when doing a backgroundRead but instead making use of the new journal: ie only invalidate from the document cache what has actually changed.

      I'd like to get an opinion (Marcel Reutegger, Chetan Mehrotra?) on this first, I have a load test pending locally which found invalidation of the document cache to be the slowest part thus wanted to optimize this first.

      Open still/next:

      • also invalidate only necessary parts from the docChildrenCache
      • junits for all of these

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                stefanegli Stefan Egli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: