You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by am...@apache.org on 2016/12/23 06:13:13 UTC
svn commit: r1775794 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/plugins/blobstore.md
Author: amitj
Date: Fri Dec 23 06:13:13 2016
New Revision: 1775794
URL: http://svn.apache.org/viewvc?rev=1775794&view=rev
Log:
OAK-5235: Document the new caching datastore
Small note about increasing the staging upload cache size
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/plugins/blobstore.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/plugins/blobstore.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/plugins/blobstore.md?rev=1775794&r1=1775793&r2=1775794&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/plugins/blobstore.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/plugins/blobstore.md Fri Dec 23 06:13:13 2016
@@ -162,10 +162,14 @@ The following table explains the differe
|totalWeight | Current size of cache (bytes | Current size of cache (bytes)bytes|
|totalMemWeight | Approximate size of cache in-memory (bytes) | Approximate size of cache in memory (bytes)|
-The parameters above can be used to size the cache. For example the hitRate is an important parameter and if much
+The parameters above can be used to size the cache. For example:
+
+* The hitRate is an important parameter and if much
below 1 then indicates that the cache is low based on the load and should be increased.
+* If the staging cache has a low hit ratio, download cache has a high hit ratio and also its current size is much less
+than the maxSize then its better to increase the `stagingSplitPercentage` parameter.
-The MBean also exposed a method `isFileSynced` which takes a node path of a binary and returns whether the associated
+The MBean also exposes a method `isFileSynced` which takes a node path of a binary and returns whether the associated
file/blob has been uploaded to the DataStore.
#### Upgrade (Pre Oak 1.6 caching)