arunpandianp commented on PR #37840:
URL: https://github.com/apache/beam/pull/37840#issuecomment-4065834060

   When looking for similar implementations, I came across 
GcpMultiEndpointChannel 
https://github.com/GoogleCloudPlatform/grpc-gcp-java/blob/master/grpc-gcp/src/main/java/com/google/cloud/grpc/GcpMultiEndpointChannel.java
   
   GcpMultiEndpointChannel uses the channel ConnectivityStatus to determine 
which channel to use. Will it be more robust, if FailoverChannel uses 
ConnectivityStatus instead if RPC status to failover?
   
   Thinking something like wait X seconds for primary to become ready the first 
time and failover to the fallback channel if it takes more than X minutes. We 
can let primary retry connections in the background and switch to it whenever 
it becomes ready. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to