[grpc-io] How to use SetSocketMutator

2020-11-08 Thread Liping Zhang
Hi, We need to implement an endpoint with a custom socket... with a quick search, found "Socket_Mutator" seems a starting point, wonder anyone has experience in this respect ? how to use "SetSocketMutator" during runtime to specify the custom endpoint? Thanks Liping -- You received this

[grpc-io] Is there have "Resolver" and "Balancer" interface in Python ?

2020-11-08 Thread stefan lei
Hello guys. I found "Resolver" and "Balancer" in Java and Go, Is there have in Python ? If not , How can I do ? I am plan to use them with zookeeper , as Service Found Can I build custom c-core version for Python ? -- You received this message because you are subscribed to the Google

[grpc-io] Re: Load balancing while using gRPC

2020-11-08 Thread 'Srini Polavarapu' via grpc.io
You can specify client side round robin load balancing like this: opts = [("grpc.lb_policy_name", "round_robin",)] channel = grpc.insecure_channel(':' , opts) If your target address resolves to multiple addresses then requests are load balanced in a round robin fashion. Other than