[
https://issues.apache.org/jira/browse/SLING-9695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242551#comment-17242551
]
Cris Rockwell commented on SLING-9695:
--------------------------------------
I closed the PR I created for this without merging. Starter is only an example,
and the closed PR provides that.
[https://github.com/apache/sling-org-apache-sling-starter/pull/13]
> 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
> Priority: Minor
> Labels: datastore, default
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> 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)