is it possible to use grpc's loadbalancing framework for active/passive?

28 views
Skip to first unread message

Elhanan Maayan

unread,
Aug 5, 2019, 5:19:19 AM8/5/19
to grpc.io
hi.. i was wondering if it's possible to configure grpc's api to an active/passive config, so that if one packet  doesn't come from one source in a defined gime, it would automatically switch to another source

Srini Polavarapu

unread,
Aug 5, 2019, 11:48:48 AM8/5/19
to grpc.io
You can look into enabling keepalive on the channel that will detect failure of underlying TCP connections and attempt to reconnect. If you have multiple TCP connections, gRPC will pick the first available connection by default and switch to another one when that one fails.
Reply all
Reply to author
Forward
0 new messages