Your reading is correct, the idle manager checks for the case where there are no active RPCs (including long lived streaming RPCs). The StreamTracer provides a way to check the last time a message was sent or received on a per RPC basis, but unfortunately there's no connection level aggregation at the moment.
On Tue, Sep 12, 2017 at 12:23 PM, Arpit Baldeva <[email protected]> wrote: > Hi, > > After reading https://github.com/ejona86/proposal/blob/ > a339b01be9eafffb1adc4db8c782469caed18bdc/A9-server-side-conn-mgt.md , I > am looking for a small clarification. > > It looks like the connections are not considered idle if they have > outstanding rpcs. That would mean it includes server streaming rpcs as > well, right? A common use case for server streaming rpcs is to allow for a > Server to Client Notification system. This means application need to do "no > rpc from client in some duration" detection as well in this scenario and > finish streaming rpc before grpc library can run the network layer clean up > on it's end? > > 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/91a74931-3580-4e9f-a9d2-1bcd3b743818%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/91a74931-3580-4e9f-a9d2-1bcd3b743818%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Spencer Fang -- 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/CAK%3D-x_6P%2BtMV5AmGUf5%2B2VV9%3DnHRkbU_nOprxxMF27TRFFNxTg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
