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

Implement a proper template cache

    XMLWordPrintableJSON

    Details

      Description

      The template cache is currently just a map per segment. This is problematic in various ways:

      • A segment needs to be in memory and probably loaded first only to read something from the cache.
      • No monitoring, instrumentation of the cache
      • No control over memory consumption

      We should there for come up with a proper template cache implementation in the same way we have done for strings (StringCache) in OAK-3007. Analogously that cache should be owned by the CachingSegmentReader.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mduerig Michael Dürig
                Reporter:
                mduerig Michael Dürig
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: