[grpc-io] Re: [grpc-java 1.0.0] Use grpc in production causes memory leak

2016-10-19 Thread craig
Have worked out what the issue is. GRPC 1.0.0 and 1.0.1 are both based on Netty 4.1.3.Final. This version of Netty is affected by a memory leak bug referenced and fixed in the following commit: https://github.com/netty/netty/commit/94d7557dead5e7780769d44bbb4aa7530149ca34 The vanilla GRPC Serve

[grpc-io] [grpc-java] How to close stream by client for server-side streaming

2016-10-19 Thread Edmund
Hello! I am trying to close a server-side streaming stream by the client but cannot seem to find a way to do it without closing the whole connection or channel. The proto file has a service like this: rpc ListFeatures(Rectangle) returns (stream Feature) {} When I use stub.ListFeatures() it do

Re: [grpc-io] gRPC static paths?

2016-10-19 Thread 'Louis Ryan' via grpc.io
Its the difference between "/service/method" (a fixed string identifying the operation - RPC) and /collection/{resource-id} (where a parameter of the call is a variable component of the REST path). Using fixed strings speeds up dispatching logic and on HTTP2 improves header caching behaviors. On W

[grpc-io] Pop

2016-10-19 Thread Benjamin Thomson
So Far, So-So. Pp -- 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 post to this group, send email to grpc-io@googlegroups.co

[grpc-io] gRPC static paths?

2016-10-19 Thread song1219
Hi I am reading gRPC FAQ "Why is gRPC better/worse than REST?" The answer says "We diverge from typical REST conventions as we use static paths for performance reasons during call dispatch as parsing call parameters from paths, query parameters and payload body adds latency and complexity." Wha

Re: [grpc-io] gRPC compilation for XP (v140_xp)

2016-10-19 Thread 'Craig Tiller' via grpc.io
That sounds like a good summary of the complications with XP. We have no plans to support the platform, especially since it's well past end of life. On Wed, Oct 19, 2016 at 8:39 AM Amit Waisel wrote: > I am trying to compile the C++ code for XP platform. I know it is not > officially supported.

[grpc-io] gRPC compilation for XP (v140_xp)

2016-10-19 Thread Amit Waisel
I am trying to compile the C++ code for XP platform. I know it is not officially supported. By changing the _WIN32_WINNT to 0x501 in global.props, I get many errors: 1. Using RTL_RUN_ONCE API which is supported Vista+ only 2. Support for IPv6 (inet_ntop at grpc/src/core/lib/iomgr/socka

Re: [grpc-io] gRPC setting max Threads

2016-10-19 Thread Abhinay r
Hi,I am using JAVA -- 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 post to this group, send email to grpc-io@googlegroups.com

[grpc-io] Re: [grpc-java 1.0.0] Use grpc in production causes memory leak

2016-10-19 Thread craig
fyi On Wednesday, October 19, 2016 at 3:56:17 PM UTC+8, cr...@livewirelabs.com.au wro

[grpc-io] Re: [grpc-java 1.0.0] Use grpc in production causes memory leak

2016-10-19 Thread craig
We have just encountered the same issue, been in production for about a week, exactly the same leak. We have just started investigating. Will let you know how we go. Cheers Craig On Wednesday, September 28, 2016 at 8:26:34 AM UTC+8, Taehyun Park wrote: > > Hello I have a memory leak problem t