Skip to content

perf(runtime): group queued mutations behind one durable root - #54

Merged
forhappy merged 20 commits into
mainfrom
codex/write-publication-performance
Oct 4, 2026
Merged

forhappy merged 20 commits into
mainfrom
codex/write-publication-performance

Conversation

@forhappy

@forhappy forhappy commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Object-only writes previously captured and published a durable root for every command. Group up to four already-queued mutations per Cell into one transaction and publication, while preserving individual request identities, outcomes, and commit sequences. Successful replies still require the exact durable root covering each command; reads and other barriers retain FIFO ordering.

Release completed request slots before reply delivery to prevent immediate follow-up reads from receiving capacity refusals. Overlap independent LTX work and refill bounded compaction transfers as sources finish, preserving descriptor/error order, fencing, recovery checks, and resource limits. Update the routing test observer to validate grouped publication ranges.

Validation:

  • Workspace/MSRV, object/follower qualification, both routing modes, and cookbook CI pass on implementation head 98ba666.
  • Regression tests cover durable reply gating, grouped outcomes, mailbox handoff, bounded transfers, cleanup, and cold recovery.

Performance reports and versioned datasets, including regressions and measurement limitations, are tracked in the performance folder.

@forhappy
forhappy marked this pull request as ready for review October 3, 2026 23:09
@forhappy forhappy changed the title perf(ltx): overlap compaction I/O and measure sustained writes perf(ltx): improve compaction and recovery admission Oct 4, 2026
@forhappy forhappy changed the title perf(ltx): improve compaction and recovery admission perf(runtime): group queued mutations behind one durable root Oct 4, 2026
@forhappy
forhappy merged commit 4c1c982 into main Oct 4, 2026
13 checks passed
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