gRPC load balancing

48 views
Skip to first unread message

Sergey S

unread,
Aug 5, 2021, 12:20:46 PM8/5/21
to grp...@googlegroups.com
Hello! 
Please tell me if it is possible to configure the balancer so that you can send a request not to a random server, but to all that the balancer sees, or to any specific one. I will clarify the situation. I have 1 client, 1 balancer and 3 servers. I need to send a request from the client to all 3 servers at once. Is there such a possibility?
Thank you very much! 
With best wishes

Srini Polavarapu

unread,
Aug 10, 2021, 1:42:01 PM8/10/21
to grpc.io
Hi,

When you say a request from a client is sent to all servers at once, what is your expected behavior with the responses? If only the first response is accepted and others are discarded, then this similar to hedging functionality. Hedging is available in gRPC in Java but not in other languages. If you are expecting all responses to be processed then such a functionality doesn't exist in gRPC.

Reply all
Reply to author
Forward
0 new messages