How to use grpc connection pool in gokit? #1165
Unanswered
ryanking8215
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I know, examples of gokit doesn't use grpc connection pool, it simpley uses grpc.Dial() in example apigateway.
As we know that connection pool generally provides the api like 'Unhealthy() or Unusable()' to mark the connection is unusable this turn and should not be put back to pool. My question is how to do the marking job in gokit?
I tried to find a way to do that, but I am not sure it is the proper way and wonder there is a better method to do the marking job.
Here is my way.
Is this the proper way or there is another grace one?
Beta Was this translation helpful? Give feedback.
All reactions