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

SegmentMK: Optimize reading of large binaries

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20
    • core
    • None

    Description

      Currently the SegmentMK splits all binaries to 4kB blocks, which adds some overhead when reading large binaries. When writing we already combine up to 64 such blocks to a 256kB bulk segment that is then written in a single operation.

      We could use the same idea also when reading: if a sequence of two or more blocks are located next to each other in the same segment, we can merge those blocks into one big block for reading a larger chunk of data at a time.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment