jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shashank Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-3253) Support caching in FileDataStoreService
Date Thu, 04 Feb 2016 06:55:39 GMT

    [ https://issues.apache.org/jira/browse/OAK-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130320#comment-15130320
] 

Shashank Gupta edited comment on OAK-3253 at 2/4/16 6:55 AM:
-------------------------------------------------------------

h2. How to enable caching in FileDatastore. 
* PID org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore 
* [Sample config attached|https://issues.apache.org/jira/secure/attachment/12786204/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config]

h3. Fresh Installation:
* path: path of NAS or SAN storage (required)
* cacheSize: size of cache in bytes ( required and > 0) 
* cachePath: path of local file system cache( optional). Default is $\{home.dir\}/repository/datastore.

h3. Migration from FileDataStore on SAN to cache enabled FileDataStore
* path: path of NAS or SAN storage (required)
* cacheSize: size of cache in bytes( required and > 0) 
* cachePath: path of local file system cache( optional). Default is $\{home.dir\}/repository/datastore.

h3. Migration from FileDataStore on local file system to cache enabled FileDataStore on SAN
* path: path of NAS or SAN storage (required)
* cacheSize: size of cache in bytes( required and > 0) 
* cachePath: path of local file system of FileDataStore. Default is $\{home.dir\}/repository/datastore.

To disable caching in FileDataStore don't configure {{cacheSize}} or set {{cacheSize=0}}


was (Author: shgupta):
h2. How to enable caching in FileDatastore. 
* PID org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore 
* [Sample config attached|https://issues.apache.org/jira/secure/attachment/12786204/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config]

h3. Fresh Installation:
* path: path of NAS or SAN storage (required)
* cacheSize: size of cache in bytes ( required and > 0) 
* cachePath: path of local file system cache( optional). Default is $\{home.dir\}/repository/datastoreCache.

h3. Migration from FileDataStore on SAN to cache enabled FileDataStore
* path: path of NAS or SAN storage (required)
* cacheSize: size of cache in bytes( required and > 0) 
* cachePath: path of local file system cache( optional). Default is $\{home.dir\}/repository/datastoreCache.

h3. Migration from FileDataStore on local file system to cache enabled FileDataStore on SAN
* path: path of NAS or SAN storage (required)
* cacheSize: size of cache in bytes( required and > 0) 
* cachePath: path of local file system of FileDataStore. Default is $\{home.dir\}/repository/datastoreCache.

To disable caching in FileDataStore don't configure {{cacheSize}} or set {{cacheSize=0}}

> Support caching in FileDataStoreService
> ---------------------------------------
>
>                 Key: OAK-3253
>                 URL: https://issues.apache.org/jira/browse/OAK-3253
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: blob
>    Affects Versions: 1.3.3
>            Reporter: Shashank Gupta
>            Assignee: Shashank Gupta
>            Priority: Blocker
>              Labels: candidate_oak_1_0, candidate_oak_1_2, docs-impacting, features,
performance
>             Fix For: 1.4, 1.3.15
>
>         Attachments: OAK-3253.txt, org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config
>
>
> FDS on SAN/NAS storage is not efficient as it involves network call. In OAK. indexes
are stored SAN/NAS and even idle system does lot of read system generated data. 
> Enable caching in FDS so the reads are done locally and async upload to SAN/NAS
> See [previous discussions|https://issues.apache.org/jira/browse/OAK-3005?focusedCommentId=14700801&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14700801]



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

Mime
View raw message