This may probably help? https://grpc.io/blog/grpc-on-http2/#keeping-connections-alive ?
On Mon, Jan 10, 2022 at 8:54 AM Rajat Goyal <rajatgoyal247...@gmail.com> wrote: > Hi, > > Gentle reminder for any resolution for above. > > Regards, > Rajat > > On Sun, 9 Jan, 2022, 6:50 pm Rajat Goyal, <rajatgoyal247...@gmail.com> > wrote: > >> Hi, >> >> We have a system where clients open bi-directional grpc stream to >> ALB, which proxies to one of active server. So >> >> bi-di >> client <----------------> ALB <----------------> server >> >> In-case of any failure of connection, clients re-connects to us as we >> want to keep a bi-di channel open. >> >> Question is : How can we keep the channel open even if there is no >> activity for sometime. ALB are configured with 300 sec idle-timeout which >> means it will drop the connection if no packets are exchanged in 300 sec. >> >> As we want to keep the connection open as much possible ( only re-create >> in-case of any issue), and not let it die due to idle timeout, what >> properties should server can client set ? >> Should keep-alive setting at both client & server help out ? >> >> >> -- >> 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/532f5551-e978-467e-b71c-0031a54953bfn%40googlegroups.com >> <https://groups.google.com/d/msgid/grpc-io/532f5551-e978-467e-b71c-0031a54953bfn%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/CALO6TtuVMUxHQmZMGj1wvD7r4qvRQuKd2gy0j%2B0z8b8EYdw7BA%40mail.gmail.com > <https://groups.google.com/d/msgid/grpc-io/CALO6TtuVMUxHQmZMGj1wvD7r4qvRQuKd2gy0j%2B0z8b8EYdw7BA%40mail.gmail.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/CA%2BPad6j43bytnoip4j-CgvrE3R7TQP-UmEWUO6HGgPihK9DqvQ%40mail.gmail.com.