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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/03/19 11:53:38 UTC

[jira] [Resolved] (OAK-1925) Use streamed io instead of RandomAccessFile in TarWriter

     [ https://issues.apache.org/jira/browse/OAK-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-1925.
----------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.2)

Resolving as Wont Fix for now as the change would not benefit much

> Use streamed io instead of RandomAccessFile in TarWriter
> --------------------------------------------------------
>
>                 Key: OAK-1925
>                 URL: https://issues.apache.org/jira/browse/OAK-1925
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>         Attachments: OAK-1925.patch
>
>
> TarWriter currently uses RandomAccessFile to 
> * Write the tar entries
> * Read written entries
> The write however are currently sequential. It might be better to use streamed buffered io for the write and maintain an in memory cache of written tar entries to serve the reads.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)