Unfortunately, this hasn't been implemented, while it had been asked for several times. See https://github.com/grpc/grpc-java/issues/1886 for status and progresses about the discussion. You could comment (ping) on that with descriptions about your use case. There may be other server concurrency limiting solutions mentioned by other users in that discussion interests you.
FWIW, our service implementations used to have load reporting mechanisms that servers report their load (e.g., # of requests, utilizations, etc) to the balancer for load balancing purposes. On Friday, April 24, 2020 at 8:11:46 AM UTC-7 Sri wrote: > I want to limit the no.of concurrent clients a grpc server can serve, so > that our load balancer can assign other servers to the client, is there a > way to do this? I am speciifcally working with grpc java > > Thank you > -- 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/7bc86b66-c8f7-41b1-9c45-e2f56bb81a4f%40googlegroups.com.
