Repository navigation
CLI-101: the bench of the cost of the live limits - #464
Merged
Merged
Conversation
A bench with one arm and its A/A pair, each case in a fresh process with --expose-gc: the heap of a key at 256 and 16,384 bytes, the heap of a topic at 4,096 topics, the time of live.set at both byte edges, a snapshot of a full topic, and one window event of a full topic to 1 and 10 subscribers. The workflow live-limits only reports, on a dispatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ix (CLI-101) snapshot-k64, window-s10-k64 and window-s100-k64 read a topic of 64 keys of 16,384 bytes. The report gives the heap of a topic and of a state at the limits of bytes of #465, and the share of the heap limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
The bench of the cost of the three live limits at their edges (CLI-101). The defaults are 1,024 keys for each topic, 16,384 bytes for each value and 4,096 topics. No measure chose them. This bench reads what each edge costs a host.
heap-256,heap-16384,heap-16x16384: the retained heap of a key, after a full collection.topics-4096: the heap of a topic with one key.set-256,set-16384,set-wide: the time of onelive.setcall. The value ofset-widehas 3-byte characters.snapshot-full: the call oflive.snapshoton a full topic, and the JSON of its output.window-s1,window-s10: one window event of a full topic, delivered to 1 and 10 subscribers with a JSON frame for each.The bench has one arm and its A/A pair. Each case runs in a fresh process. The report gives the median and the range of each measure, and the full topics that fit under the heap limit.
The prediction
The prediction
client-CLI-101-limitscame before the bench, with 11 outcomes. The main claim: the product of the defaults is above 64 GiB, so the topic limit does not bound the memory of a host.Release
No changeset: the bench and the workflow are not in a package. The workflow starts only on a dispatch, so it needs main first.
🤖 Generated with Claude Code