We already have 3 times GRPC Client retries, I will try out the NettyServerBuilder. But the NettyServerBuilder has the ExperimentalApi annotation, should we be using this in production systems. https://grpc.github.io/grpc-java/javadoc/io/grpc/netty/NettyServerBuilder.html#withChildOption(io.netty.channel.ChannelOption,T)
On Mon, Dec 18, 2023 at 1:38 PM Larry Safran <lsaf...@google.com> wrote: > Rajan, > Do you have retries enabled? That would be your first line of defense. > > On the server side, giving the server more resources may help. You could > directly use NettyServerBuilder for more fine grained control through > ChannelOptions (using *.withOptions()* method). Specifically > options CONNECT_TIMEOUT_MILLIS and SO_BACKLOG. > > Hope that helps, > Larry > > On Mon, Dec 18, 2023 at 11:21 AM Rajan Shah <rajan.m.s...@gmail.com> > wrote: > >> When the load increases on the GRPC Server I am seeing Error 14 on the >> GRPC Client. Which essentially says that the stream is refused by the >> server. How can we resolve this as the data is not even seen by the GRPC >> Server it is only being printed on the Client logs. >> >> Is there any buffer which I can increase ? >> >> Context: >> >> I have a bidirectional grpc connection using Java 8 with flatbuffers. >> >> similar to this issue https://github.com/grpc/grpc-node/issues/1969 >> >> Thanks >> Rajan >> >> -- >> 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 grpc-io+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/20f7f32b-f42f-4e5a-a96a-c038d69f4617n%40googlegroups.com >> <https://groups.google.com/d/msgid/grpc-io/20f7f32b-f42f-4e5a-a96a-c038d69f4617n%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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAKhGQn7hc%3DvWx7BbiGWuPEi1%2Byo2_uR0nRasZ0z19w3S7pkdTg%40mail.gmail.com.