Skip to content

ADR-0035 — The concurrency bar compares with upstream

  • Status: Accepted
  • Date: 2026-11-14
  • Supersedes: the K=8 concurrency bar of ADR-0005
  • Authors: project maintainers

Context

ADR-0005 asked that at K=8 concurrent threads on one saver our put p50 be within 3× of our own K=1 p50. The plain graph missed it in every run. Profiling showed the K=8 put waits on the event loop of the one process driving the graphs, which used 1.14 CPU-seconds a second, not on the pool, the server or the codec (measured before public release; concurrent-put-profile.md). The ratio measured the benchmark process, not the saver.

Decision

At K=8 on one saver, our put p50 must be at most upstream's and our turns/s at least upstream's. This replaces "within 3× of our own K=1 p50"; both are targets, so as numbers they are claimed. The K=32 bars are unchanged.

Alternatives considered

  • Keep the self-relative bar — rejected: it fails whenever the benchmark's own process is CPU-bound, whatever the saver does.

Consequences

  • The self-relative ratio is still reported, so a change in it remains visible.

References