-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 to use client pool in the gateway? #612
Comments
What have you tried? |
I want registered the endpoint and it can have multiple connection to service,mean is client pool. |
That sounds like an interesting problem. Could you explain what you have tried thus far? |
I tried edit the "*.pb.gw.go-regxxxMethod Grpc.Dial" , I also tried registered multiple same endpoint,but this is very troublesome,maybe have plugin mechanism? |
registered multiple same endpoint was no useful |
I'm not aware of a native connection pooling mechanism built into
grpc-go. Could you elaborate on what you're using to achieve pooling? Maybe
you could also elaborate on why you need connection pooling given the
multiplexed nature of gRPC?
|
@rogerhub I want a endpoint used multiple connections to improve throughput,not multiple endpoints by multiple connections,athough H2 multiplexing,but a connection the throughput is always limited. |
Please follow the general troubleshooting steps first:
grpc-gateway
to the latest version from github. withgit fetch https://github.com/grpc-ecosystem/grpc-gateway master && git reset --hard FETCH_HEAD
protoc-gen-grpc-gateway
andprotoc-gen-swagger
binary from yourPATH
,and install locally built binaries.
Bug reports:
Fill in the following sections with explanations of what's gone wrong.
Steps you follow to reproduce the error:
Your steps here.
What did you expect to happen instead:
Your answer here.
What's your theory on why it isn't working:
Your theory here.
The text was updated successfully, but these errors were encountered: