Skip to content

Make the DDIR server parallel, timer-free, and Corgi-capable - #853

Merged
frankmcsherry merged 3 commits into
master-nextfrom
codex/ddir-server-foundations
Sep 1, 2026
Merged

Make the DDIR server parallel, timer-free, and Corgi-capable#853
frankmcsherry merged 3 commits into
master-nextfrom
codex/ddir-server-foundations

Conversation

@frankmcsherry

Copy link
Copy Markdown
Member

A sequence of changes that shake out various DDIR server shortcomings found while building things.

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
frankmcsherry marked this pull request as ready for review September 1, 2026 21:23
@frankmcsherry
frankmcsherry merged commit e9b3e45 into master-next Sep 1, 2026
6 checks passed
@frankmcsherry
frankmcsherry deleted the codex/ddir-server-foundations branch September 1, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant