Server-side rate control

78 views
Skip to first unread message

jungh...@snapchat.com

unread,
Jan 3, 2017, 6:15:14 PM1/3/17
to grpc.io
Hello,

What is the best way to provide a rate control to C++ gRPC server like limiting the maximum active requests and the maximum pending requests?
Does gRPC already provide such a functionality?

Thanks,

Carl Mastrangelo

unread,
Jan 3, 2017, 7:38:09 PM1/3/17
to grpc.io, jungh...@snapchat.com
I am not as familiar with the C++ version of the library, but you can get such limits from HTTP/2.  You can set the max concurrent streams to limit how many requests are inbound.  You can also use flow control to limit how many requests per second you actually take.
Reply all
Reply to author
Forward
0 new messages