Skip to content

docs(design): Arc-wrapped WorkQueueSender for multi-generator fan-in - #3812

Merged
oferchen merged 1 commit into
masterfrom
docs/arc-workqueuesender-1383
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/arc-workqueuesender-1383

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Documents Arc<WorkQueueSender> as a multi-generator fan-in primitive that preserves the SPMC compile-time invariant from Make CLI user lookup portable #1614 without flipping the existing multi-producer Clone feature from Align toolchain floor with CI checks #1404.
  • Restates the SPMC ordering contract, enumerates the four motivating scenarios (multi-root local transfers, parallel source enumeration, generator decomposition, test harness), and contrasts three design alternatives (Arc, Clone, producer-side actor).
  • Analyses tradeoffs across refcount cost, drop-disconnect semantics, ordering guarantees, and observability; lists nine open questions covering capacity sizing, sequence coordination, and audit alignment.

Test plan

  • Documentation review for accuracy of source citations into crates/engine/src/concurrent_delta/work_queue/.
  • Cross-check against crates/engine/src/concurrent_delta/multi_producer_audit.rs (Fix Windows device detection and stabilize message source test #1609) to confirm the audit conclusions remain consistent.
  • Verify links to related design notes (docs/design/streaming-reorder-buffer.md, docs/design/multi-file-delta-apply-pipeline.md, docs/architecture/reorder-buffer.md) resolve.

Tasks #1383 and #1610. Related: #1404, #1609, #1614, #1382, #1569.

Tasks #1383 and #1610. Documents the Arc<WorkQueueSender> shape as a
multi-generator fan-in primitive that preserves the SPMC compile-time
invariant (#1614) without enabling the multi-producer Clone feature
(#1404). Covers the four motivating scenarios (multi-root local copy,
parallel source enumeration, generator decomposition, test harness),
contrasts three design alternatives, and analyses tradeoffs across
refcount cost, drop-disconnect semantics, and ordering guarantees.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit 21c0f6b into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the docs/arc-workqueuesender-1383 branch May 8, 2026 03:52
oferchen added a commit that referenced this pull request May 18, 2026
…3812)

Tasks #1383 and #1610. Documents the Arc<WorkQueueSender> shape as a
multi-generator fan-in primitive that preserves the SPMC compile-time
invariant (#1614) without enabling the multi-producer Clone feature
(#1404). Covers the four motivating scenarios (multi-root local copy,
parallel source enumeration, generator decomposition, test harness),
contrasts three design alternatives, and analyses tradeoffs across
refcount cost, drop-disconnect semantics, and ordering guarantees.
oferchen added a commit that referenced this pull request Aug 24, 2026
…3812)

Tasks #1383 and #1610. Documents the Arc<WorkQueueSender> shape as a
multi-generator fan-in primitive that preserves the SPMC compile-time
invariant (#1614) without enabling the multi-producer Clone feature
(#1404). Covers the four motivating scenarios (multi-root local copy,
parallel source enumeration, generator decomposition, test harness),
contrasts three design alternatives, and analyses tradeoffs across
refcount cost, drop-disconnect semantics, and ordering guarantees.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant