[
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
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. ASYNC remains
the default; any future policy change requires measurement evidence.
was:
h3. Summary
Measure the performance impact of synchronous versus asynchronous Caffeine
maintenance for DocumentNodeStore caches.
h3. Context
OAK-12426 compares CacheLIRS with Caffeine. This follow-up compares the two
Caffeine maintenance modes using the per-cache mode support, without
duplicating the existing cache-implementation benchmark. 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.
> Benchmark synchronous and asynchronous Caffeine maintenance in
> DocumentNodeStore
> --------------------------------------------------------------------------------
>
> 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
> 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. ASYNC
> remains the default; any future policy change requires measurement evidence.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)