Repository navigation
bench(mongo): forms of the numbers of a store - #450
Draft
mark1russell7 wants to merge 57 commits into
Draft
mark1russell7 wants to merge 57 commits into
mark1russell7 wants to merge 57 commits into
Conversation
…asses The test holds a delta read between its read of the floor and its query. A second process then deletes an item and prunes the older tombstone. This test is red on this commit if the short delta is real. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A prune raises the floor before it deletes the tombstones. So a query that missed a tombstone now sees the new floor, and that reader gets a full result. A silent short delta is no longer possible. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…between its steps The queue of the writes and the change reads now belongs to the client. A db option that makes a new Db at each call, and the default connection, had no queue. A second process of a test holds its prune before the second step, so a read between the two steps pins the order of the steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t, and the next prune finishes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pull request that changes the store now compares its reads and writes with its base on a real MongoDB, with an A/A beside them. The base arm is the whole source of the base commit. The limit stays a first value until five CI runs give it, and the gate refuses it before that. The suite views starts 1,000 views whose pipeline texts all differ. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A count of failures with no message cannot tell the cause, so each line now has the count and the first message of each kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es no write Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e forms offer 1200 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guard is in the reader, so the design states that it does not help an old reader. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gate-margin refuses records that stop before the last look, because those records give only an upper bound. It prints the formula for each case alone and reads all cases together at those limits. gate-reruns counts the no reads of a pull request and the reruns that follow them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each case has its own limit and its own stated slowdown. A case can be report only: the gate reads and prints it, and it has no part in the outcome or the level. With --enforce the report refuses a limit at or over its stated slowdown. gate-margin prints the smallest slowdown each case can hold on same-source records. That read is arithmetic: only a flip proves a slowdown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The suite tenant-bound compares that form with and without a bound of 16 calls in each process. Each child samples the list of numbers in progress in the counter documents and the conflicts of the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lls in progress Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iter in a burst Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h id Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mmands Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the proposal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er of idle connections Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Form A cuts the tail of other callers and holds 85 of 90 children on a warm pool. The first run read 18 of 18, and that figure did not last. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot planned Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…port only The gate holds a slowdown of 25 percent or more in each gated case. A slowdown under 25 percent can pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # pnpm-lock.yaml
…ller one can pass Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # packages/client-mongo/package.json # pnpm-lock.yaml
…lip runs (CLI-94) gate-limit.json holds the flip runs read so far. caseClaim gives the smallest slowdown that each counted run held, with 2 or more runs, its k of n, the look of each block and the 95 % Wilson lower bound, which is reported, not gated. A block at a smaller slowdown counts at a larger one, and a miss at a larger slowdown counts at a smaller one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its counting (CLI-94) The counting assumes that the detection rises with the slowdown. The field breaks lists each miss at a slowdown larger than a block of another run, and the gate prints it. The three flip runs show none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The read bench of main (read-bound, share arms, the stated delay) and the gate of CLI-94 now share one workflow. The arm before of the read bench loads the whole base source from base/, as the gate needs. The workflow keeps one input suite with all six benches, the start-mongo action and the delay step of main, and passes both --enforce and --delay to the report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci.yml: main's if (!cancelled()) with the speed jobs of this branch in needs. pnpm-lock.yaml: rigor-bench 0.2.23 of main, with rigor-generators 0.1.5 of this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
stream-cost.yml: both sides kept: the second MongoDB and the tenant rule tests of this branch, the delay step and the --base argument of the speed gate. package.json: rigor-bench ^0.2.17 of the speed gate, with rigor-chaos of this branch. The lockfile is the speed gate's, with rigor-chaos added by pnpm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The arms and the design record of the forms of the numbers of a store. See
packages/documentation/STORE-NUMBERS-2026-11.md.This branch changes no published code. It adds bench files, workflow suites and one page of documentation.
🤖 Generated with Claude Code