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

Upgrade gRPC connections configuration and strategies to support round-robin resolving for frontends #888

Open
Spikhalskiy opened this issue Nov 18, 2021 · 0 comments
Labels
enhancement User experience

Comments

@Spikhalskiy
Copy link
Contributor

Spikhalskiy commented Nov 18, 2021

Go SDK recently implemented changes in gRPC connection and request configurations.

Find more details here:
https://pkg.go.dev/go.temporal.io/sdk/internal#ClientOptions
https://github.com/grpc/grpc/blob/master/doc/load-balancing.md

We need to support resolvers, including the one that round-robin between known frontends. This will let us remove hacks like WorkflowServiceStubsOptions#grpcReconnectFrequency that forcefully reestablish connections to achieve load balancing.

Internal discussion in company's slack: https://temporaltechnologies.slack.com/archives/C01FG4BRQVB/p1637267948416500

gRPC Load balancing doc:
https://github.com/grpc/grpc/blob/master/doc/load-balancing.md

Related task in GoSDK:
temporalio/sdk-go#577

Related task: #815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement User experience
Projects
None yet
Development

No branches or pull requests

1 participant