I don't want to use the load balancing policy,  my use case is to connect
to different systems. Is it possible to connect through single stub and
channel?

On Wed, Sep 18, 2019, 11:03 PM 'Lidi Zheng' via grpc.io <
[email protected]> wrote:

> Yes. By "multiple servers", if you mean multiple backends of the same
> service, then it is possible. You can achieve this by:
> 1. Resolve the backend endpoint URL to multiple backend IP.
> 2. Set the load balance policy to "round_robin".
>
> You can take a look at the C++ example
> https://github.com/grpc/grpc/tree/master/examples/cpp/load_balancing.
>
> On Sunday, September 15, 2019 at 10:22:42 PM UTC-7, Gautham Bhat wrote:
>>
>>
>> Hi All,
>> I have an use case where a client connects to multiple servers, how can I
>> achieve this? Is it possible to use single channel for multiple server
>> connections ? Can someone please help. I am using C++.
>>
> --
> 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/7da8f049-d820-401f-b331-50207adbd135%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/7da8f049-d820-401f-b331-50207adbd135%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJBPDyBmzZ8Lw758d%2BTuLh7x5MYqOtDE-CFnQiTyjACZHKM0uA%40mail.gmail.com.

Reply via email to