gRPC client side request throttling

316 views
Skip to first unread message

Bhuvi Viji

unread,
May 11, 2023, 11:05:44 AM5/11/23
to grpc.io
Hi,

Currently  we are doing some performance testing with our gRPC based server and client apps and below are the Observations with the test results and Need feedback on this.

1.Even if the upstream gRPC service is up and running, client gets "Unreachable error" at times - what is the exact reason. We have configured retries to resolve the issue. But would like to understand what is happening behind it.

2. We configured have configured semaphore object to throttle request in client side even with Semaphore count of 10 , still seeing retries, its same as without having the semaphore object so would like to know the client side connection queueing feature where we can limit the connections on the channel instead of using a separate variables.


Vamsi Deepak

unread,
May 12, 2023, 3:55:18 AM5/12/23
to grpc.io

Zach Reyes

unread,
May 17, 2023, 3:47:07 PM5/17/23
to grpc.io
Can both of y'all please provide more context. I.e. a client and server side code snippet, something where the team can reproduce? Thanks.

Eric Anderson

unread,
May 19, 2023, 11:55:36 AM5/19/23
to Bhuvi Viji, grpc.io

--
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 grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/b3108a0b-85ff-4db0-8624-305622143d33n%40googlegroups.com.

Vamsi Deepak

unread,
May 21, 2023, 5:23:46 AM5/21/23
to Eric Anderson, Bhuvi Viji, grpc.io
The above mentioned issue has been resolved . It happened because I did not set the proper path to the proto files. 
Thanks everyone.

Reply all
Reply to author
Forward
0 new messages