[grpc-io] Re: Detecting client disconnections in the server side

2017-03-02 Thread 'Carl Mastrangelo' via grpc.io
I'm actually more familiar with Java, though the architectures aren't that different. Most of gRPC is centered around the Call, rather than the Connection. If it were me, I would make a custom RPC that implies "Disconnecting". This would also allow you to embellish the disconnect (like add a

Re: [grpc-io] gRPC A6: Retries

2017-03-02 Thread 'Eric Gribkoff' via grpc.io
On Thu, Mar 2, 2017 at 9:03 AM, 'Eric Anderson' via grpc.io < grpc-io@googlegroups.com> wrote: > On Thu, Mar 2, 2017 at 8:38 AM, Mark D. Roth wrote: > >> On Thu, Mar 2, 2017 at 8:24 AM, Eric Gribkoff >> wrote: >> >>> On Thu, Mar 2, 2017 at 8:15 AM, Mark

Re: [grpc-io] error when use command npm install on windows

2017-03-02 Thread 'Michael Lumish' via grpc.io
What version of Node do you have (node --version)? What version of npm do you have (npm --version)? Are you able to install any packages? Also, installing grpc with the -g flag probably won't do you any good. It's a library, not a command line tool. On Wed, Mar 1, 2017 at 10:06 PM Jyoti Rawat

Re: [grpc-io] gRPC A6: Retries

2017-03-02 Thread 'Eric Gribkoff' via grpc.io
On Thu, Mar 2, 2017 at 8:15 AM, Mark D. Roth wrote: > On Thu, Mar 2, 2017 at 8:09 AM, Eric Gribkoff > wrote: > >> I've update the gRFC document to include the latest discussions here. >> >> On Thu, Mar 2, 2017 at 7:20 AM, Mark D. Roth

Re: [grpc-io] gRPC A6: Retries

2017-03-02 Thread 'Mark D. Roth' via grpc.io
On Thu, Mar 2, 2017 at 8:09 AM, Eric Gribkoff wrote: > I've update the gRFC document to include the latest discussions here. > > On Thu, Mar 2, 2017 at 7:20 AM, Mark D. Roth wrote: > >> On Wed, Mar 1, 2017 at 2:47 PM, 'Eric Gribkoff' via grpc.io < >>

[grpc-io] Re: Detecting client disconnections in the server side

2017-03-02 Thread Gustavo GarcĂ­a
Hi Carl, Thank you for your answer. This is a chat application, so when a user disconnects you want to tell everybody else in the room that somebody left.That's why I need to detect it. Does it makes sense? If I turn on keep-alives, how would I detect the connection drop in a GRPC Go