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

Minimize the amount of uncached segment reads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.12, 1.8.0
    • segment-tar
    • None

    Description

      The current implementation of SegmentCache should make better use of the underlying Guava cache by relying on the cached segments instead of unconditionally performing an uncached segment read via the Callable<Segment> passed to SegmentCache#getSegment.

      Attachments

        1. OAK-6915-diagnostics.patch
          3 kB
          Francesco Mari
        2. OAK-6915-01.patch
          18 kB
          Francesco Mari
        3. OAK-6915-02.patch
          17 kB
          Francesco Mari
        4. OAK-6915.patch
          2 kB
          Michael Dürig
        5. OAK-6915-diagnostics-02.patch
          4 kB
          Francesco Mari
        6. Screen Shot 2017-11-09 at 14.16.59.png
          958 kB
          Michael Dürig
        7. Screen Shot 2017-11-09 at 14.14.28.png
          1.01 MB
          Michael Dürig
        8. OAK-6915-03.patch
          17 kB
          Francesco Mari
        9. OAK-6915-04.patch
          16 kB
          Francesco Mari
        10. OAK-6915-05.patch
          17 kB
          Michael Dürig

        Issue Links

          Activity

            People

              frm Francesco Mari
              frm Francesco Mari
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: