Hello, Setup: Client, server using callback unary api
question: How do i check from a client side that server is up/down? What I'm currently doing is to issue grpc with deadline set + wait_for_ready as false. the return code if shows UNAVAILABLE, then server is not there, otherwise needs a retry... Here it's not about health check service that could be used, but rather about mechanisms to check either thru channel or stub (issueing rpc)? I was also trying to query the channel state, however not quite clear what indicates an unavailable server (using grpc_connectivity_state)... the use case is I have a client connected to N servers (1 channel per server) and does some simple load balancing with priorities. this client is actually another server .... any help is greatly appreciated! thanks! VKi -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/b7410560-79cb-4172-8eaa-c0768ac27ec1n%40googlegroups.com.
