The channel stays open between RPCs and can be reused. Are you seeing that
the channel is closed between RPCs? Also, which language are you using grpc
from?

On Fri, Jul 28, 2017 at 11:50 AM, Anirudh Kasturi <[email protected]>
wrote:

> Hello folks,
>
> I am trying to stream incoming packets on my interface to a GRPC server.
> So every 10 seconds,  I read the packets from a database where my packets
> are written to when they get into my interface.
>
> Then stream those packets synchronously to a Grcp server.  How can I keep
> the client side streaming's channel alive without closing so that my client
> doesn't close the channel and open a new channel every 10 seconds?  Maybe
> there is some way to create a persistent channel?
>
> --
> 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/d8bac0ec-16f4-4364-ae50-34bff61fc010%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/d8bac0ec-16f4-4364-ae50-34bff61fc010%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_7UknaByqdcv_vDEXqRGdWuKAMCUxVzXdvkUxLtvs5obA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to