Can sync grpc tell me how many requests are not handled?

42 views
Skip to first unread message

zhi qi

unread,
Dec 8, 2020, 6:39:44 AM12/8/20
to grpc.io
In grpc 1.26.0(not necessary), c++ server(necessary).

I just build a sync grpc server with ResourceQuota'MaxThreads set. If clients requests too frequently, there will be some requests not be executed.

How can I get the number and the suspending time of these requests? Or is there some metrics?

Thank you all.


yas...@google.com

unread,
Dec 16, 2020, 4:24:16 PM12/16/20
to grpc.io
That is a really good question! If you set memory limits via the resource quota, there are cases where incoming requests and connections are rejected due to unavailable memory quota. Unfortunately, this is not exposed as any metric right now (if I recall correctly).
Reply all
Reply to author
Forward
0 new messages