Skip to content

Pack small star writes into wider frames - #533

Merged
matrixarkai merged 1 commit into
mainfrom
star-write-flow-control
Nov 9, 2026
Merged

matrixarkai merged 1 commit into
mainfrom
star-write-flow-control

Conversation

@matrixarkai

Copy link
Copy Markdown
Owner

Summary

  • negotiate bounded conditional-write frame limits with chunk servers using canonical binary protobuf
  • pack up to 32 small writes into one standalone star frame while retaining the eight-write consensus bound
  • keep eight-write framing when any member is older or advertises a lower bound
  • account for protobuf envelope bytes while preserving four 1 MiB writes per established frame

Validation

  • cargo test --locked -j1 --lib: 626 passed, 0 failed, 28 ignored
  • cargo check --locked -j1 --all-targets --all-features: passed
  • release replica-state integration suite: 16 passed, 0 failed, 3 ignored
  • mixed-version and stalled-member tests passed across three local TCP replicas in WSL
  • controlled 5 ms reply-delay run for 32 writes and three replicas: mutation frames fell from 12 to 3; p50 fell from 27.128 ms to 10.826 ms
  • the existing 16 x 1 MiB bounded-frame integration test remains green

@matrixarkai
matrixarkai requested a review from bjmeetsfo November 9, 2026 12:07
@matrixarkai
matrixarkai merged commit 1725d39 into main Nov 9, 2026
5 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.

2 participants