Skip to content

docs: name what was measured - #33

Merged
userFRM merged 1 commit into
masterfrom
docs/name-what-we-measured
Jul 27, 2026
Merged

userFRM merged 1 commit into
masterfrom
docs/name-what-we-measured

Conversation

@userFRM

@userFRM userFRM commented Jul 27, 2026

Copy link
Copy Markdown
Owner

The benchmark tables used generic labels — "barrier-ring", "shared-ring broadcast", "point-to-point queue" — so a reader could not tell what had been measured or reproduce it. The repo's own owner asked what "barrier" meant, which settled the question.

Every row now names the crate and version: disruptor 4.0, tokio::sync::broadcast 1.53, crossbeam-channel 0.5, flume 0.11. Benchmark ids match, so published tables and cargo bench output line up.

The site now also carries the cross-thread table — which is where this crate's loss at one consumer lives — and explains the mechanism instead of gesturing at it: consumers coordinate through a shared sequence barrier by publishing their positions, and the producer folds them into a minimum before it may overwrite a slot. Free with one consumer, growing with the audience. That is both why this crate loses at N=1 and why it can offer non-gating observers and dead-consumer recovery: there is no shared minimum for a stalled consumer to poison.

Naming a library in a reproducible measurement is accuracy. What this repo avoids is organising its story around someone else's, which these tables do not do.

Verified: 219 tests, clippy clean, fmt clean, both benches build, HTML tag balance checked.

The benchmark tables used generic labels — "barrier-ring", "shared-ring broadcast", "point-to-point queue" — so a reader could not tell what had been measured or reproduce it. The repo's own owner asked what "barrier" meant, which settled the question.

Every row now names the crate and version: disruptor 4.0, tokio::sync::broadcast 1.53, crossbeam-channel 0.5, flume 0.11. Benchmark ids match, so the published tables and `cargo bench` output line up.

The site now also carries the cross-thread table, which is where the loss at one consumer lives, and explains the mechanism rather than gesturing at it: consumers coordinate through a shared sequence barrier by publishing their positions, and the producer folds them into a minimum before it may overwrite a slot. That is free with one consumer and grows with the audience, which is both why this crate loses at N=1 and why it can offer non-gating observers and dead-consumer recovery — there is no shared minimum for a stalled consumer to poison.

Naming a library in a reproducible measurement is accuracy. What this repo avoids is organising its story around someone else's, which these tables do not do.
@userFRM
userFRM merged commit 754cd6b into master Jul 27, 2026
18 checks passed
@userFRM
userFRM deleted the docs/name-what-we-measured branch July 27, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant