rishabhdaim opened a new pull request, #3176: URL: https://github.com/apache/jackrabbit-oak/pull/3176
## Summary - use Caffeine-backed caches by default in `oak-store-document` - retain CacheLIRS as a runtime rollback through default-enabled `FT_CAFFEINE_CACHE_OAK-12425` - increase the default document cache allocation by 25%, from 256 MB to 320 MB, based on benchmark capacity results - prevent delayed Caffeine eviction callbacks from persisting an obsolete value after the same key is reinserted ## Benchmark evidence Benchmark implementation and results: #3174 (OAK-12426). Caffeine materially improves concurrent throughput. The 25% capacity increase improves hit rate and backend-load behavior for oversized churn workloads. Explicit invalidation remains slower in isolation, so the rollback toggle is retained. ## Test plan - `mvn test -pl oak-store-document -Dtest=DocumentNodeStoreBuilderTest,DocumentNodeStoreServiceConfigurationTest,DocumentNodeStoreServiceTest,AsyncQueueTest,NodeCacheTest -DfailIfNoTests=false` - 88 tests passed ## Links - JIRA: https://issues.apache.org/jira/browse/OAK-12425 - Benchmark PR: #3174 - Benchmark Jira: https://issues.apache.org/jira/browse/OAK-12426 Co-Authored-By: GitHub Copilot <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
