[
https://issues.apache.org/jira/browse/OAK-12437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim updated OAK-12437:
-------------------------------
Description:
h3. Summary
Allow DocumentNodeStore to opt individual Caffeine caches into asynchronous
maintenance after the SYNC migration in OAK-12425.
h3. Scope
Build on OAK-12425 / PR #3176. Reuse and move the existing per-CacheType
builder override and production integration tests into this follow-up.
Unconfigured Document caches remain SYNC; selecting ASYNC for one CacheType
does not change the others. Entry-owned metadata correctness must hold in both
modes.
The comparative LIRS, Caffeine SYNC and Caffeine ASYNC measurements remain
tracked by OAK-12426.
was:
h3. Summary
Measure the performance impact of synchronous versus asynchronous Caffeine
maintenance for DocumentNodeStore caches.
h3. Context
OAK-12426 compares CacheLIRS with Caffeine. The same OAK-12426 benchmark PR
also compares the two Caffeine maintenance modes using the per-cache mode
support. Hold persistent-cache write behavior and workload parameters constant
between runs.
h3. Acceptance Criteria
# The benchmark compares SYNC and ASYNC maintenance using identical
DocumentNodeStore cache workloads.
# Workloads include read-heavy access, churn and eviction, invalidation, and
concurrent access.
# Results report throughput, latency including tail latency where supported,
cache hit/miss/eviction counts, and backend-load counts.
# The benchmark documents repeatable commands, JVM settings, and workload
parameters.
# Results are linked to OAK-12426 and are used to select the document
node-cache maintenance mode.
h3. Delivery
The implementation and measurements are delivered in the OAK-12426 benchmark PR
rather than a separate overlapping PR. OAK-12438 now tracks Segment Tar
overrides; entry-owned metadata is part of OAK-12425.
h3. Prerequisites
Run measurements after the OAK-12436 API, the separate OAK-12438 Segment Tar
integration, and the OAK-12425 entry-metadata implementation are complete. Use
the same benchmark implementation and validation as OAK-12426. Oak Store
Document defaults to SYNC and the shared API defaults to ASYNC; measurements
compare explicit per-cache selections.
Summary: Enable per-cache asynchronous maintenance in
oak-store-document (was: Benchmark synchronous and asynchronous Caffeine
maintenance in DocumentNodeStore)
> Enable per-cache asynchronous maintenance in oak-store-document
> ---------------------------------------------------------------
>
> Key: OAK-12437
> URL: https://issues.apache.org/jira/browse/OAK-12437
> Project: Jackrabbit Oak
> Issue Type: Task
> Reporter: Rishabh Daim
> Priority: Major
>
> h3. Summary
> Allow DocumentNodeStore to opt individual Caffeine caches into asynchronous
> maintenance after the SYNC migration in OAK-12425.
> h3. Scope
> Build on OAK-12425 / PR #3176. Reuse and move the existing per-CacheType
> builder override and production integration tests into this follow-up.
> Unconfigured Document caches remain SYNC; selecting ASYNC for one CacheType
> does not change the others. Entry-owned metadata correctness must hold in
> both modes.
> The comparative LIRS, Caffeine SYNC and Caffeine ASYNC measurements remain
> tracked by OAK-12426.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)