Thomas Mueller created OAK-6515:
-----------------------------------

             Summary: Decouple indexing and upload to datastore
                 Key: OAK-6515
                 URL: https://issues.apache.org/jira/browse/OAK-6515
             Project: Jackrabbit Oak
          Issue Type: New Feature
          Components: indexing, lucene, query
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
            Priority: Minor
             Fix For: 1.9.0


Currently the default async index delay is 5 seconds. Using a larger delay 
(e.g. 15 seconds) reduces index related growth, however diffing is delayed 15 
seconds, which can reduce indexing performance. 

One option (which might require bigger changes) is to index every 5 seconds, 
and store the index every 5 seconds in the local directory, but only write to 
the datastore / nodestore every 3rd time (that is, every 15 seconds).

So that other cluster nodes will only see the index update every 15 seconds. 
The diffing is done every 5 seconds, and the local index could be used every 5 
or every 15 seconds.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to