[ 
https://issues.apache.org/jira/browse/OAK-9780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545873#comment-17545873
 ] 

Thomas Mueller commented on OAK-9780:
-------------------------------------

More findings:
* Entries could _just_ be in the node state cache (not in the document cache). 
I changed the code accordingly.
* The persistent cache has a surprising effect on performance: often node 
states are read from there (reading from local disk).
* So I changed the API to also pass the root node state.
* Initial testing shows a speedup of around factor of 2, for local MongoDB. But 
those tests are likely not reflecting reality at all (different cache sizes, 
remote MongoDB).

> Poc for DocumentNodeStore cache warming
> ---------------------------------------
>
>                 Key: OAK-9780
>                 URL: https://issues.apache.org/jira/browse/OAK-9780
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>            Priority: Major
>
> Proof of concept of cache warming for DocumentNodeStore. Goal is for indexing 
> to warm up the cache for a select few eg paths to allow for faster 
> iterating/reading of the same eg paths later on



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to