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 ch...@apache.org on 2014/04/16 07:30:48 UTC
svn commit: r1587807 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/osgi_config.md
Author: chetanm
Date: Wed Apr 16 05:30:47 2014
New Revision: 1587807
URL: http://svn.apache.org/r1587807
Log:
OAK-1726 - Improve support for local caching in DataStoreBlobStore
Update docs
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/osgi_config.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/osgi_config.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/osgi_config.md?rev=1587807&r1=1587806&r2=1587807&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/osgi_config.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/osgi_config.md Wed Apr 16 05:30:47 2014
@@ -128,10 +128,28 @@ minRecordLength
: Size in bytes. Binary content less than `minRecordLength` would be inlined i.e. the data store id is
the data itself).
+maxCachedBinarySize
+: Default - 17408 (17 KB)
+: Size in bytes. Binaries with size less than or equal to this size would be stored in in memory cache
+
+cacheSizeInMB
+: Default - 16
+: Size in MB. In memory cache for storing small files whose size is less than `maxCachedBinarySize`. This
+ helps in better performance when lots of small binaries are accessed frequently.
+
#### Jackrabbit 2 - S3DataStore
_PID `org.apache.jackrabbit.oak.plugins.blob.datastore.S3DataStore`_
+maxCachedBinarySize
+: Default - 17408 (17 KB)
+: Size in bytes. Binaries with size less than or equal to this size would be stored in in memory cache
+
+cacheSizeInMB
+: Default - 16
+: Size in MB. In memory cache for storing small files whose size is less than `maxCachedBinarySize`. This
+ helps in better performance when lots of small binaries are accessed frequently.
+
### Configuration Steps for Apache Sling
The OSGi Configuration Admin service defines a mechanism for passing configuration settings
@@ -161,6 +179,9 @@ _${sling.home}/install_ folder with cont
#path to the DataStore
path=./sling/repository/datastore
+ #cache for storing small binaries in-memory
+ cacheSizeInMB=128
+
#### Framework Properties vs OSGi Configuration
OSGi components can read config data from two sources.