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.
On Tuesday, January 3, 2017 at 3:15:14 PM UTC-8, [email protected] wrote: > > 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, > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/5955ed28-9148-4357-8540-f6dd7e129584%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
