You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Cris Rockwell (Jira)" <ji...@apache.org> on 2020/08/25 20:25:00 UTC

[jira] [Created] (SLING-9695) Sling Starter datastore

Cris Rockwell created SLING-9695:
------------------------------------

             Summary: Sling Starter datastore
                 Key: SLING-9695
                 URL: https://issues.apache.org/jira/browse/SLING-9695
             Project: Sling
          Issue Type: Improvement
          Components: Starter
    Affects Versions: Starter 12
            Reporter: Cris Rockwell


Sling Starter jar should use a file datastore by default. In my experience, a datastore provides a noticeable performance boost. It took too long to figure out how to get Sling working with a file datastore. 

https://jackrabbit.apache.org/oak/docs/osgi_config.html#config-sling
https://stackoverflow.com/questions/62030664/aem-filedatastore-missing-parameter-options/62032775
https://stackoverflow.com/questions/63569028/add-new-datastore-during-upgrade

Proposed change

[configurations runModes=oak_tar]
  org.apache.jackrabbit.oak.segment.SegmentNodeStoreService
    name="Default\ NodeStore"
  org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore
    minRecordLength=I"4096"
    path="sling/repository/datastore"
    cacheSizeInMB=I"128"
  org.apache.jackrabbit.oak.segment.SegmentNodeStoreService
    customBlobStore=B"true"





--
This message was sent by Atlassian Jira
(v8.3.4#803005)