Skip to content

Let one Execute message carry several requests or responses - #24

Merged
liran merged 2 commits into
mainfrom
perf/packed-messages
Oct 30, 2026
Merged

liran merged 2 commits into
mainfrom
perf/packed-messages

Conversation

@liran

@liran liran commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Weir spent about a third of its CPU sending and receiving a gRPC message per record. Each Execute message now carries one or more of the existing requests or responses, and a peer handles each element exactly as if it had arrived alone, so senders can pack whatever they have ready into one message. In local runs the server sends about seven results per message and the SDK about four records per message.

The element messages are unchanged; the new envelope validators only check that a message is non-empty and has no unknown fields of its own. This is a breaking wire change, released as v0.17.0.

@liran liran self-assigned this Oct 30, 2026
@liran
liran merged commit d362d5b into main Oct 30, 2026
1 check passed
@liran
liran deleted the perf/packed-messages branch November 4, 2026 11:31
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