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

Why pick first is the default load balancing policy? #5009

Closed
huangchong94 opened this issue Nov 29, 2021 · 1 comment
Closed

Why pick first is the default load balancing policy? #5009

huangchong94 opened this issue Nov 29, 2021 · 1 comment

Comments

@huangchong94
Copy link
Contributor

huangchong94 commented Nov 29, 2021

Pick first as the default LB policy is not very useful especially in production.

Most people will expect gRPC distribute load between multiple backends by default while it's not.

Why not use round robin as default. It's not perfect but better than pick first

@dfawley
Copy link
Member

dfawley commented Dec 1, 2021

This is the default across all gRPC languages. Let us know if you need help configuring something different, but we found this was the most sensible default behavior many years ago when gRPC was first created. Changing it now is unlikely, but it would have to happen in all languages.

@dfawley dfawley closed this as completed Dec 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants