ADR-0030 — The large-thread put bar is judged on one saver
- Status: Accepted
- Date: 2026-11-14
- Supersedes: the large-thread
putpool rule of ADR-0005 - Authors: project maintainers
Context
The 1–10 MB thread rows of the acceptance bars (ADR-0005) ask for put
p50 within 1.25× of upstream. The benchmark built a fresh pool per run, and the DeltaChannel put
missed the bar there. Profiling traced the miss to planning: a fresh pool plans the larger put
statement (it carries the fence) on each new connection. Grown through one saver, as a long-lived
worker holds it, the same puts are 0.72–1.16× upstream's (measured before public release;
put-planning-cold-pools.md).
Decision
The large-thread rows' put p50 bar will be judged on one saver kept across runs
(large_threads --warm). The fresh-pool figure is reported beside it as a per-connection
planning cost.
Alternatives considered
- Keep judging fresh pools — rejected: it measures connection churn, which a long-lived worker does not have, rather than the saver's steady state.
Consequences
- Applications that open a new pool per request pay the planning cost on each new connection; the fresh-pool figure shows how much.