Conversation
cmd/bdbench drives one or more sharded stores the way the adapter does: a block per interval of dynamic rewrites over a hot key set, permanent appends, lookups across all ages, then a seal; maintenance on the adapter's cadence in its own goroutine, one pass in flight per store. Defaults are the 2026-09-16 soak's BVN store at 500 tps. It reports once a minute what spec 1.2 governs -- seal and block against the interval, put and read p99, each maintenance kind's passes and time, the process's disk traffic, store size, history segments, resident filter memory -- and fails a run whose reads return anything but the last written value. The report is a live page (-http) that a run is launched by opening; -stores puts several stores on one disk, the way a validator's partitions and a test network's nodes are. SPEC 2.9 now describes the adapter as it is (sharded, seal limit 12,500, window 20, maintenance every 20 commits, packs every 1000); the register closes #62 and #47 and carries #94; 2.11 defines the platform and what a healthy store must show on it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015wUZmWRdAPtcfFgYrLJCc5
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.
Stacked on #93 (its spec text refers to #92).
cmd/bdbenchdrives one or more sharded stores the wayaccumulate/pkg/database/keyvalue/bcdbdoes, without Accumulate: one block per interval of dynamic rewrites over a hot key set, permanent appends of new keys, lookups across all ages, then a seal; maintenance on the adapter's cadence (Compress,MergeFinalized,PackFinalized) in its own goroutine, one pass in flight per store, skipped not queued. Defaults are the 2026-09-16 soak's BVN store at 500 tps (~11k dyna puts, ~8k perm puts, ~40k lookups per 1 s block). Flags only (1.10).Once a minute it reports what 1.2 governs, so a cost that grows with the age of the store is a column that climbs: blocks over the interval; block and seal p50/p90/max; put and read p99; passes and time per maintenance kind; the process's disk read/write rate; store size and file count; history segments per layer; resident filter memory; and reads that returned anything but the last written value, which fail the run.
-httpserves a live page (cards, charts against age, the per-minute table);-stores Nruns several stores on one disk in one process;-pprofserves profiles.First result (one store, defaults, 30 min on the soak machine's NVMe): seal p50 ~51 ms and block p50 ~210 ms flat from minute 1 to minute 18, put/read p99 under 10 µs, compaction 0.7 s per pass, store 3.8 GB at 18 min, zero wrong answers. A store alone did not knee where the soak's nine did; the shared fsync queue is the next run (
-stores 9).Spec: 2.9 rewritten to the adapter as it is (sharded, seal limit 12,500, window 20, maintenance every 20 commits, packs every 1000; #62 and #47 closed in the register); 2.11 defines the platform and what a healthy store must show on it; #94 enters the register.
🤖 Generated with Claude Code
https://claude.ai/code/session_015wUZmWRdAPtcfFgYrLJCc5