Do connections automatically reconnect? #2225
Unanswered
Mirko-von-Leipzig
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If a client connection breaks due to network issues or the server temporarily going offline, does the connection re-establish itself when the server comes back online?
There are a bunch of issues and discussions surrounding it (and similarly retry). Some suggest that with
lazy_connect
it does automatically reconnect - but maybe only once? Or only after some timeout?If it doesn't automatically reconnect, how do I repair a broken connection in a proxy situation? That is, my server has a gRPC client as part of its state which I clone for each request. Do I need to recreate this client - implying that I now need mutable shared state to update the state's client if I determine its broken?
Prior information:
#1254
#2208
#1463
#1635
Beta Was this translation helpful? Give feedback.
All reactions