Jukka Zitting created OAK-1660:
----------------------------------
Summary: SegmentMK: Optimize reading of large binaries
Key: OAK-1660
URL: https://issues.apache.org/jira/browse/OAK-1660
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core
Reporter: Jukka Zitting
Assignee: Jukka Zitting
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)