Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9695

Sling Starter datastore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • Starter 12
    • None
    • Starter

    Description

      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"

      Attachments

        Activity

          People

            cris Cris Rockwell
            cris_rockwell Cris Rockwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 10m
                3h 10m