[
https://issues.apache.org/jira/browse/OAK-12426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim updated OAK-12426:
-------------------------------
Description:
h3. Summary
Compare CacheLIRS, Caffeine SYNC and Caffeine ASYNC for oak-store-document
before deciding how to roll out Caffeine.
h3. Scope
Add a reproducible benchmark in oak-benchmarks that exercises the production
DocumentNodeStore node cache. Cover steady-state reads, warm and cold state,
churn/eviction, invalidation and concurrent access. Report throughput, latency,
cache statistics and loader counts under identical weights, workloads,
persistent-write behavior and JVM settings. Enable the Document ASYNC opt-in
explicitly for ASYNC benchmark rows; regular DocumentNodeStore operation
remains SYNC by default and FT_OAK-12437 must be enabled before ASYNC can be
selected. Keep benchmark code in PR #3174 above the OAK-12437 PR in the gh
stack.
h3. Acceptance Criteria
* Compare LIRS, Caffeine SYNC and explicitly enabled Caffeine ASYNC through
production DocumentNodeStore APIs.
* Keep weights, workloads, persistent-write behavior and JVM settings
consistent across modes.
* Report throughput, latency, cache statistics and backend loads for repeatable
runs.
* Do not change the production default from SYNC based on benchmark results in
this issue.
* PR #3174 depends on OAK-12437, which is based on OAK-12425.
was:
h3. Summary
Compare CacheLIRS, Caffeine SYNC and Caffeine ASYNC for oak-store-document
before deciding how to roll out Caffeine.
h3. Scope
Add a reproducible benchmark in oak-benchmarks that exercises the production
DocumentNodeStore node cache. Cover steady-state reads, warm and cold state,
churn/eviction, invalidation and concurrent access. Report throughput, latency,
cache statistics and loader counts under identical weights, workloads,
persistent-write behavior and JVM settings.
Use the DocumentNodeStore ASYNC opt-in from
[OAK-12437|https://issues.apache.org/jira/browse/OAK-12437], which builds on
the SYNC migration and entry-metadata work in
[OAK-12425|https://issues.apache.org/jira/browse/OAK-12425]. Keep benchmark
code in PR #3174 above the OAK-12437 PR in the gh stack.
> Benchmark CacheLIRS and Caffeine for oak-store-document
> -------------------------------------------------------
>
> Key: OAK-12426
> URL: https://issues.apache.org/jira/browse/OAK-12426
> Project: Jackrabbit Oak
> Issue Type: Task
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
>
> h3. Summary
> Compare CacheLIRS, Caffeine SYNC and Caffeine ASYNC for oak-store-document
> before deciding how to roll out Caffeine.
> h3. Scope
> Add a reproducible benchmark in oak-benchmarks that exercises the production
> DocumentNodeStore node cache. Cover steady-state reads, warm and cold state,
> churn/eviction, invalidation and concurrent access. Report throughput,
> latency, cache statistics and loader counts under identical weights,
> workloads, persistent-write behavior and JVM settings. Enable the Document
> ASYNC opt-in explicitly for ASYNC benchmark rows; regular DocumentNodeStore
> operation remains SYNC by default and FT_OAK-12437 must be enabled before
> ASYNC can be selected. Keep benchmark code in PR #3174 above the OAK-12437 PR
> in the gh stack.
> h3. Acceptance Criteria
> * Compare LIRS, Caffeine SYNC and explicitly enabled Caffeine ASYNC through
> production DocumentNodeStore APIs.
> * Keep weights, workloads, persistent-write behavior and JVM settings
> consistent across modes.
> * Report throughput, latency, cache statistics and backend loads for
> repeatable runs.
> * Do not change the production default from SYNC based on benchmark results
> in this issue.
> * PR #3174 depends on OAK-12437, which is based on OAK-12425.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)