golang grpc: question about balancer

34 views
Skip to first unread message

zel...@gmail.com

unread,
Aug 1, 2016, 1:13:56 PM8/1/16
to grpc.io, Qi Zhao
Hi folks,

A quick question about Go GRPC: if a balancer returns an address that it desires a connection to, and GRPC cannot connect to that address, how does the balancer get notified? Does GRPC call Up() and then down() for that connection?

In other words, as a balancer, how do I tell the difference between an address that is simply waiting to connect and one that has been failing to connect for some time: do I need to keep track of the time delta between when the Notify channel asks for the address to be connected and when Up() is called?

Thanks,

Zellyn
Reply all
Reply to author
Forward
0 new messages