Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose remote service route for user custom #93

Merged
merged 2 commits into from
Mar 29, 2023
Merged

Conversation

lacorey
Copy link
Contributor

@lacorey lacorey commented Dec 20, 2022

What problem does this PR solve?

in cluster mode, framework rpc remote service is randmom, user can't control the rule. so expose remote service route for user custom, it's useful for remote service shardding and support same service node expand horizontal.

What is changed and how it works?

exist multiple same remote service node, gate distribution rpc request can use user specify remoteAddr.

Check List

Tests
has a example in examples/customerroute

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to be included in the release note

@gsw945 gsw945 merged commit ee534d4 into lonng:master Mar 29, 2023
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