Add fast-path message destination cache#10064
Merged
ReubenBond merged 4 commits intoApr 30, 2026
Merged
Conversation
Member
Author
AdaptivePing perf comparisonCompared PR #10064 against upstream/main using the same AdaptivePing harness on both sides.
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
System target references are tied to silo liveness and gateway routing. Avoid caching their message receivers so calls re-evaluate gateway availability after membership changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ReubenBond
force-pushed
the
split/message-destination-cache
branch
from
April 30, 2026 15:33
b4aeaae to
a557bbd
Compare
Allow cached reply delivery to target hosted clients directly by making HostedClient implement IMessageReceiver. This lets request.MessageReceiver participate in the response fast path instead of falling back through MessageCenter routing for every hosted-client response. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use three stable rounds by default for AdaptivePing so full scenario runs converge faster while preserving the existing hill-climbing behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ReubenBond
marked this pull request as ready for review
April 30, 2026 17:44
ReubenBond
enabled auto-merge
April 30, 2026 17:46
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Validation
git diff --checkdotnet build src\Orleans.Core\Orleans.Core.csproj -mdotnet build src\Orleans.Runtime\Orleans.Runtime.csproj -mDependencies / notes
main, but is logically related to the message-oriented networking work and may need review/merge coordination with that PR.Microsoft Reviewers: Open in CodeFlow