[grpc-io] Re: grpc-java server-side compression not working/implemented?

2016-08-21 Thread Stephen Haberman
Sun, Aug 21, 2016 at 8:47 AM Stephen Haberman <stephen.haber...@gmail.com> wrote: > Hi, > > I've verified that ServerCallImpl has compressor=null. There is a > setCompression method, but AFAICT no one calls it, and it's not immediately > clear how I should go about calling i

[grpc-io] Re: grpc-java server-side compression not working/implemented?

2016-08-21 Thread Stephen Haberman
serverCall.setCompression(...) to change that (however you do that), but using the same encoding in the response as the request seems like a more reasonable/less surprising default? Thanks! - Stephen On Sat, Aug 20, 2016 at 2:48 PM Stephen Haberman <stephen.haber...@gmail.com> wrote: > Hi, > >

[grpc-io] grpc-java server-side compression not working/implemented?

2016-08-20 Thread Stephen Haberman
Hi, I'm using grpc-java 1.0.0.pre2, and it seems like server-side/response compression may not be working. I'm making a synchronous call from a client, and sending ~40k objects, e.g. FooRequest.newBuilder().addAllPaths(...40k...).build(). The server then collects it's own 40k objects (again

[grpc-io] Re: Is it a good idea to use stream RPC for health check?

2016-10-14 Thread stephen . haberman
Ironically, I have a grpc-java project that uses a long-lived, two-way stream, but I had to add manual, ping-based health checks to detect disconnections. I am anticipating/assuming eventually grpc will handle this, but for me neither the server or client side would notice when the connection