[ 
https://issues.apache.org/jira/browse/OAK-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra updated OAK-2746:
---------------------------------
    Fix Version/s:     (was: 1.3.0)

> Ignore lesser used old cache entries while invalidating cache entries in 
> background read
> ----------------------------------------------------------------------------------------
>
>                 Key: OAK-2746
>                 URL: https://issues.apache.org/jira/browse/OAK-2746
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: cache, mongomk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>              Labels: performance
>
> Currently the Cache invalidation logic used in MongoDocumentStore check for 
> cache consistency for all the entries present in the cache. With use of 
> persistent cache its possible that pressure on backend cache would be reduced 
> and some of the cache entries are not being accessed for long time.
> Cache invalidation logic should take into account such access statistics and 
> not perform consistency check for cached instance which are not accessed for 
> some long time (10 mins?). Such cache entries should be directly discarded.
> PS: Looking at [1] it appears that Guava cache does not enforces a global LRU 
> eviction policy. The policy is maintained per segment table
> [1] http://stackoverflow.com/questions/10236057/guava-cache-eviction-policy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to