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

Shashank Gupta commented on OAK-3253:
-------------------------------------

h2. How to enable caching in FileDatastore
* PID org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore 

h3. Fresh Installation:
path: path of NAS or SAN storage (required)
cacheSize: size of cache( 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( 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( 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
>
>
> 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)

Reply via email to