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

How do I load balance call grpc service? #1081

Closed
ya0yy opened this issue Nov 10, 2019 · 3 comments
Closed

How do I load balance call grpc service? #1081

ya0yy opened this issue Nov 10, 2019 · 3 comments

Comments

@ya0yy
Copy link

ya0yy commented Nov 10, 2019

No description provided.

@johanbrandhorst
Copy link
Collaborator

Hi @ya0yy. This question isn't directly relevant to the grpc-gateway project, so I'm going to close it. Please take a look at the grpc documentation for more information on load balancing options: https://grpc.io/docs/ https://grpc.io/blog/loadbalancing/

@ya0yy
Copy link
Author

ya0yy commented Nov 10, 2019

Hi @ya0yy. This question isn't directly relevant to the grpc-gateway project, so I'm going to close it. Please take a look at the grpc documentation for more information on load balancing options: https://grpc.io/docs/ https://grpc.io/blog/loadbalancing/

thanks reply, but I mean http request to grpc-gateway, grpc-gateway load balance for call grpc service, as look like a client lb

@johanbrandhorst
Copy link
Collaborator

Normally the grpc-gateway is colocated with the gRPC server it exposes, but it is of course possible to specify the same sort of load balancing options as with any other gRPC client. In any case, this is not a question for the grpc-gateway project. You can specify gRPC DialOptions to the gateway generated code.

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

No branches or pull requests

2 participants