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

Improve segment deserialization performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Segment Tar 0.0.16
    • segment-tar
    • None

    Description

      The methods readReferencedSegments and readRecordNumberOffsets in Segment compute the returned data every time they are called. While this is a very clean implementation, this might force unexpected I/O operations, since the "buffer" the data is read from usually is a memory-mapped file.

      Attachments

        1. OAK-4923-02.patch
          4 kB
          Francesco Mari
        2. OAK-4923-01.patch
          5 kB
          Francesco Mari

        Activity

          People

            mduerig Michael Dürig
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: