Make the DDIR server parallel, timer-free, and Corgi-capable - #853
Merged
Conversation
Replay one worker-0 FIFO through Timely, keep response handles local, and use logical progress for tick, peek, and tail completion. Remove periodic sleeps and physical worker barriers so idle workers park in the scheduler and command completion follows dataflow progress. Keep diagnostics opt-in because its logging dataflow is itself scheduler-active, and drain received control containers into the local queue without cloning their records.
Select one renderer for the server while retaining the current row-speaking registry as an explicit transition boundary. Corgi remains columnar within each installed program. Preserve DDIR's signed integer semantics for min by sign-swizzling Corgi's candidate leaves in an order-only columnar view before segmented sorting. The selected rows remain in their original columns, with no Value conversion.
Add a typed FeedBatch command and a bounded begin/end text protocol so one request can stage many rows for one input at the current epoch. Parse and validate the complete body before it enters the ordered command stream, partition it by body position before Timely exchange, and apply each worker's shard without advancing time. Treat this row-speaking form as a compatibility ingress rather than the intended high-volume data path. Drain exchanged command containers without cloning their shards, and document that admission succeeds before a later tick establishes visibility and completion.
frankmcsherry
marked this pull request as ready for review
September 1, 2026 21:23
frankmcsherry
added a commit
that referenced
this pull request
Sep 2, 2026
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.
A sequence of changes that shake out various DDIR server shortcomings found while building things.