Repository navigation
docs(design): plan daemon thread-per-conn bench at 100/1K/10K concurrent (#1933) - #3891
Merged
Merged
Conversation
Slim runnable plan complementing the broader benchmark plan. Specifies the minimum harness needed to land first measured numbers on Linux loopback at 100/1K/10K concurrent rsync:// pulls so #1934 RFC and #1935 async-listener work can compare sync vs async paths against quantified sync-baseline ttfb, completion p99, peak RSS, and thread count.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…#3891) Slim runnable plan complementing the broader benchmark plan. Specifies the minimum harness needed to land first measured numbers on Linux loopback at 100/1K/10K concurrent rsync:// pulls so #1934 RFC and #1935 async-listener work can compare sync vs async paths against quantified sync-baseline ttfb, completion p99, peak RSS, and thread count.
3 tasks
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…#3891) Slim runnable plan complementing the broader benchmark plan. Specifies the minimum harness needed to land first measured numbers on Linux loopback at 100/1K/10K concurrent rsync:// pulls so #1934 RFC and #1935 async-listener work can compare sync vs async paths against quantified sync-baseline ttfb, completion p99, peak RSS, and thread count.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
EDG-PANIC.1: workspace audit of bare slice indexing patterns on attacker-controlled buffers (protocol/transfer/checksums/compress). ~314 indexing sites reviewed; only the two known UTS-18 sites in BufferedMap surfaced as suspect, both with a fix in flight via PR #5566. All other indexing is bounds-checked on the prior line, backed by fixed-size [u8; N] arrays, min-clamped, or covered by a length-prefix or library contract. Findings written to docs/audits/edg-panic-1-bare-slice-indexing.md with follow-up items enumerated as future EDG-PANIC tasks. EDG-PANIC.3: pin the BufferedMap basis-slice bounds contract with five negative-bounds unit tests against map_ptr (the BufferedMap "slice" accessor): - offset past EOF returns Err - length overflow (usize::MAX) returns Err - u64::MAX offset returns Err - offset == file_size with non-zero len returns Err (offset == file_size with zero len is a legitimate empty slice) - range straddling EOF returns Err Each test asserts io::ErrorKind::UnexpectedEof so a future change that drops or weakens the saturating_add guard is caught at the test boundary. Mirrors the malformed delta stream attack surface UTS-18 root-caused (range end index N out of range for slice of length M aborting the process). Refs: #3891, #3893
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.
Summary
docs/audits/daemon-thread-per-connection-scalability.md(Split branding tests into module #1673) and the broader plan indocs/design/daemon-tpc-benchmark-plan.md; complements rather than replaces them.-u 65536,-n 65536), workload (1 MiB pull per connection), metrics (ttfb, completion p99, peak RSS, peak thread count), pass criteria (W1k succeeds within 30 s; W10k exploratory), and the downstream feed into Accept quoted fallback override values #1934 and Normalize quoted fallback keywords #1935.Test plan
docs/design/daemon-thread-per-conn-bench.mdis under 130 lines (currently 124).