You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2016/10/18 08:39:58 UTC
[jira] [Assigned] (OAK-4923) Improve segment deserialization
performance
[ https://issues.apache.org/jira/browse/OAK-4923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig reassigned OAK-4923:
----------------------------------
Assignee: Michael Dürig (was: Francesco Mari)
> Improve segment deserialization performance
> -------------------------------------------
>
> Key: OAK-4923
> URL: https://issues.apache.org/jira/browse/OAK-4923
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Michael Dürig
> Fix For: Segment Tar 0.0.16
>
> Attachments: OAK-4923-01.patch, OAK-4923-02.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)