Repository navigation
docs(design): evaluate parallel source enumeration via multi-producer WorkQueue (#1573) - #4207
Merged
Merged
Conversation
… WorkQueue (#1573) Engages with the #4173 audit conclusion that WorkQueueSender stays single-producer. Shows I1 (#2196) is the wrong instrument for the first-byte hypothesis - enumeration runs before send_file_list entry, so I1 excludes it by construction. Recommends defer pending a W1 benchmark (process start to first inbound flist byte) on multi-root cold-cache workloads.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
… WorkQueue (#1573) (#4207) Engages with the #4173 audit conclusion that WorkQueueSender stays single-producer. Shows I1 (#2196) is the wrong instrument for the first-byte hypothesis - enumeration runs before send_file_list entry, so I1 excludes it by construction. Recommends defer pending a W1 benchmark (process start to first inbound flist byte) on multi-root cold-cache workloads.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
… WorkQueue (#1573) (#4207) Engages with the #4173 audit conclusion that WorkQueueSender stays single-producer. Shows I1 (#2196) is the wrong instrument for the first-byte hypothesis - enumeration runs before send_file_list entry, so I1 excludes it by construction. Recommends defer pending a W1 benchmark (process start to first inbound flist byte) on multi-root cold-cache workloads.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
… WorkQueue (#1573) (#4207) Engages with the #4173 audit conclusion that WorkQueueSender stays single-producer. Shows I1 (#2196) is the wrong instrument for the first-byte hypothesis - enumeration runs before send_file_list entry, so I1 excludes it by construction. Recommends defer pending a W1 benchmark (process start to first inbound flist byte) on multi-root cold-cache workloads.
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/design/parallel-source-enumeration-eval.mdanswering task Inline protocol table validation const #1573: would multi-producer source enumeration improve receiver first-byte latency at 100K+ files?WorkQueueSenderaudit conclusion (single-producer is correct today) and shows the audit's ruling is unaffected by the proposed design.send_file_listentry, which is after enumeration completes, so enumeration latency is excluded from I1 by construction.Key citations
crates/transfer/src/generator/file_list/mod.rs:52,70-84- serial walk loop overbase_pathscrates/transfer/src/generator/file_list/walk.rs:34-walk_pathsingle-threaded recursioncrates/transfer/src/generator/file_list/batch_stat.rs:38- existing rayon parallelism (per-directorystat)crates/transfer/src/generator/transfer.rs:771-783- serial build thensend_file_listcrates/transfer/src/generator/protocol_io.rs:206-291,517-550- I1 (chore: update Homebrew formula for master #2196) wiring viaFirstByteWritercrates/engine/src/concurrent_delta/multi_producer_audit.rs:8-95- docs(audits): WorkQueueSender multi-producer usage audit (#1383) #4173 auditTest plan
cargo fmt --allclean