- is the limit static or dynamic? - is the limit set on the client side i.e. the limit could be enforced completely on the client side before messages are sent out? - so what do you want to happen when a client attempts to send a message above the limit? Should the RPC fail at the client side? Or should the server end the RPC with an error? - or you don't want any RPC to fail but only throttle the message sending until something else happens
Since your high level use case is not clear I had to ask these questions. On Thu, Apr 27, 2023 at 6:46 PM Husain Dalroti <[email protected]> wrote: > Yes, we want to limit the number of messages. > > > On Tuesday, April 25, 2023 at 8:51:22 AM UTC+5:30 Sanjay Pujare wrote: > >> So you want to limit the number of messages in an RPC? What’s the >> use-case? >> >> On Thu, Apr 20, 2023 at 2:09 PM Husain Dalroti <[email protected]> wrote: >> >>> Hi Team, >>> >>> We want to achieve rate limiting on the number of messages to be send by >>> each client on particular stream at cluster level. >>> >>> If there is any documentation related to this , it would be much hepful. >>> >>> 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 view this discussion on the web visit >>> https://groups.google.com/d/msgid/grpc-io/243899cb-1abd-4fb2-a0b0-86fe96639fa4n%40googlegroups.com >>> <https://groups.google.com/d/msgid/grpc-io/243899cb-1abd-4fb2-a0b0-86fe96639fa4n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/ca5303fe-dd19-48f8-94a6-96812c30e5b2n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/ca5303fe-dd19-48f8-94a6-96812c30e5b2n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2BPad6iKb%3DyX8b%3DATi7QviKHwYYgy4L9O3JUwLGbn8CN-BzFog%40mail.gmail.com.
