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/05/21 12:32:59 UTC
[jira] [Resolved] (OAK-2898) DataStoreBlobStore should expose a
buffer input stream for getInputStream call
[ https://issues.apache.org/jira/browse/OAK-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-2898.
----------------------------------
Resolution: Fixed
Assignee: Chetan Mehrotra
Done
* trunk - http://svn.apache.org/r1680805
* 1.0 - http://svn.apache.org/r1680808
* 1.2 - http://svn.apache.org/r1680809
> DataStoreBlobStore should expose a buffer input stream for getInputStream call
> ------------------------------------------------------------------------------
>
> Key: OAK-2898
> URL: https://issues.apache.org/jira/browse/OAK-2898
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: blob
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: performance
> Fix For: 1.3.0, 1.2.3, 1.0.15
>
>
> DataStoreBlobStore directly exposes the InputStream from the wrapped DataStore. In most cases underlying DataStore exposes a LazyFileInputStream [0] which is not buffered.
> For performance reason the stream finally exposed at the BlobStore layer should be buffered one. See [1] for the discussion
> [1] http://markmail.org/thread/xi4isnzw57vphcsq
> [0]
> https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LazyFileInputStream.java#L102
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)