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

Rishabh Daim updated OAK-12425:
-------------------------------
    Description: 
oak-store-document uses CacheLIRS as its internal cache.

Now since we are moving forward with caffeine cache, we need to make caffeine 
as default cache for oak-store-document bundle as well.

However, there is one concern here i.e. maintainence. CacheLIRS does 
maintainence in sync mode whereas caffeine does it in async mode and we must 
consider this while moving ahead with caffeine.

h3. Metadata correctness and dependencies
Store access and persistence-origin metadata with each in-memory cache entry. 
Remove the separate value-retaining metadata map, preserving raw Cache<K,V> and 
live map behavior, weights, statistics and the persistent file format. Validate 
delayed eviction, replacement/reinsertion, bulk lookup, loading, broadcast and 
invalidation under both SYNC and ASYNC. Per-cache mode selection is provided by 
OAK-12436. Segment Tar integration is a separate OAK-12438 PR.


  was:
oak-store-document uses CacheLIRS as its internal cache.

Now since we are moving forward with caffeine cache, we need to make caffeine 
as default cache for oak-store-document bundle as well.

However, there is one concern here i.e. maintainence. CacheLIRS does 
maintainence in sync mode whereas caffeine does it in async mode and we must 
consider this while moving ahead with caffeine.


> oak-store-document should use caffeine by default instead of cachelirs
> ----------------------------------------------------------------------
>
>                 Key: OAK-12425
>                 URL: https://issues.apache.org/jira/browse/OAK-12425
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>            Reporter: Rishabh Daim
>            Assignee: Rishabh Daim
>            Priority: Major
>
> oak-store-document uses CacheLIRS as its internal cache.
> Now since we are moving forward with caffeine cache, we need to make caffeine 
> as default cache for oak-store-document bundle as well.
> However, there is one concern here i.e. maintainence. CacheLIRS does 
> maintainence in sync mode whereas caffeine does it in async mode and we must 
> consider this while moving ahead with caffeine.
> h3. Metadata correctness and dependencies
> Store access and persistence-origin metadata with each in-memory cache entry. 
> Remove the separate value-retaining metadata map, preserving raw Cache<K,V> 
> and live map behavior, weights, statistics and the persistent file format. 
> Validate delayed eviction, replacement/reinsertion, bulk lookup, loading, 
> broadcast and invalidation under both SYNC and ASYNC. Per-cache mode 
> selection is provided by OAK-12436. Segment Tar integration is a separate 
> OAK-12438 PR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to