[
https://issues.apache.org/jira/browse/JCR-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394357#comment-14394357
]
Shashank Gupta edited comment on JCR-3864 at 4/3/15 12:21 PM:
--------------------------------------------------------------
committed in revison:
[1671041|http://svn.apache.org/viewvc?view=revision&revision=1671041]
* Enabled LRU cache of defaut size 200 ( 28KB memory footprint) of IDs Vs
length.
* getRecored/getRecordIfStored optimized to use this recordLength cache.
* Fixed closing inputstream in TestLocalCache.java
was (Author: shgupta):
committed in revison:
[1671041|http://svn.apache.org/viewvc?view=revision&revision=1671041]
Enabled LRU cache of defaut size 200 ( 28KB memory footprint) of IDs Vs length.
getRecored/getRecordIfStored optimized to use this recordLength cache.
Fixed closing inputstream in TestLocalCache.java
> CachingDatastore -cache file sizes to save remote call to remote datastore(
> S3DS)
> ----------------------------------------------------------------------------------
>
> Key: JCR-3864
> URL: https://issues.apache.org/jira/browse/JCR-3864
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-data
> Affects Versions: 2.10
> Reporter: Shashank Gupta
> Assignee: Shashank Gupta
> Fix For: 2.10.1
>
> Attachments: JCR-3864.patch, JCR-3864_v2.patch
>
>
> DataRecord#getLength() results in a remote call to fetch size from S3.
> Optimize it using a fixed size LRU cache to save remote call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)