fibre.Client calls grpc.ClientCache.GetClient that constructs and cache grpc clients for later reuse. However, if the fiber server restarts and changes its registered address, the client won't notice until it restarts as well, as it the client is cached and there is no notification system.
A robust solution would be to catch dial/connection errors during requests, refetch the host name and try reconnecting/refetching forever with a backoff.
fibre.Clientcallsgrpc.ClientCache.GetClientthat constructs and cache grpc clients for later reuse. However, if the fiber server restarts and changes its registered address, the client won't notice until it restarts as well, as it the client is cached and there is no notification system.A robust solution would be to catch dial/connection errors during requests, refetch the host name and try reconnecting/refetching forever with a backoff.