[grpc-io] Re: Scala gRPC High CPU Utilization

2018-08-31 Thread 'Carl Mastrangelo' via grpc.io
It should be one ManagedChannel per host*. There are a lot of batching opportunities possible when using just one channel. For example, TLS encryption can work on larger block sizes at a time. Another example is that netty can poll on fewer threads, meaning fewer wakeups across all your thre

[grpc-io] Re: Scala gRPC High CPU Utilization

2018-08-31 Thread 'Kos' via grpc.io
Hi Carl, I did run a Yourkit run against my service and what I see is many threads being created for the event loop group - they're all named something like: 'grpc-default-worker-ELG-...'. I did some reading on your other posts and saw you recommended using an ELG bounded to 1-2 threads. I trie

[grpc-io] Build a grpc c++ client for receiving response from streaming server

2018-08-31 Thread Prashant Shubham
I am trying to build a `grpc` `rpc` which has stream on server side. The proto is like rpc xyz (abc) return (stream asd){} How to build a C++ client to keep listening on the stream even after the `rpc` returns response once. std::unique_ptr> reader(stub_->xyz(&context, request));

Re: [grpc-io] Re: [ANNOUNCE] Docker images for gRPC development are 1.0

2018-08-31 Thread 'Eric Anderson' via grpc.io
Please don't revive two year old threads. For grpc-java on normal platforms (e.g., not Alpine, not ARM) you just need java+Javac installed. I'd strongly suggest using Maven/Gradle wrappers in your projects to make such things easy. On Fri, Aug 31, 2018 at 4:25 AM 'Cheng Zhao' via grpc.io < grpc-i

Re: [grpc-io] Cross Compiling gRPC on ARM with buildroot

2018-08-31 Thread jason
We put up a pull request for the changes here: https://github.com/grpc/grpc/pull/16527 On Thursday, August 30, 2018 at 4:35:54 PM UTC-7, Nicolas Noble wrote: > > That's... more than reasonable actually, yes. > > > On Thu, Aug 30, 2018 at 3:54 PM Mark Fine > > wrote: > >> We've had some luck wi

Re: [grpc-io] Re: [ANNOUNCE] Docker images for gRPC development are 1.0

2018-08-31 Thread 'Cheng Zhao' via grpc.io
Could you provide a link to the instructions on how to install gRPC tooling for Java? On Sunday, November 20, 2016 at 2:12:13 PM UTC-5, Mark Mandel wrote: > > So I looked into building an image for Java, but to install the gRPC > tooling for Java it's just a Gradle/Maven plugin and you are good

[grpc-io] Re: How do I deploy a GRPC server and client on Google Cloud Platform?

2018-08-31 Thread williamschidi1
Also, I'm using Node.js On Friday, August 31, 2018 at 6:56:08 AM UTC+1, william...@gmail.com wrote: > > Hi everyone, > > I'm kind of a newbie at using GCP/Kubernetes. I want to deploy both a GRPC > service and a client to GCP. > > I have read a lot about it and have tried several things. There's