[grpc-io] Minimum and recommended pod requirements

2017-09-27 Thread Ankur Chauhan
Hi I'm running a grpc-java application in a kubernetes cluster on gke. This application listens for request from the user, reads google cloud bigtable over grpc using the official bigtable client and trouble with the rows scanned with some simple parsing. It seems like whenever I run the server

Re: [grpc-io] [android][java][cloud-speech] how can I know about the channel status?

2017-09-27 Thread David Edery
Reviving this thread. Hi, I see that https://github.com/grpc/grpc-java/issues/2292 was marked as closed a week ago. Does this concludes the issue of (in short) "understanding the state of the channel and act according"? (the details are in the thread of course) Addressing your last comment in t

[grpc-io] Re: [grpc-java] All RPCs failed with DEADLINE_EXCEEDED

2017-09-27 Thread Jorg Heymans
Happy to see this being posted. We are running into this as well, it happens once every couple of weeks we have no idea why. Indeed server side we don't see anything in the logs it's as if nothing is going on. When it happens we restart the services though, not the client application and it mak

[grpc-io] Why does not grpc use a lot of cpu?

2017-09-27 Thread Gyuseong jo
I created a grpc server using python. (grpc 1.6.0, python 3.5.2, ubuntu 16.04.2 LTS, 4 core cpu) I use ThreadPoolExcutor. server = grpc.server(futures.ThreadPoolExecutor(max_workers=300)) However, always use only 25% CPU. It seems to use only single core. What should I do?

[grpc-io] Re: [C++] Completion queue request rpc tag's 'ok' boolean

2017-09-27 Thread Arpit Baldeva
That was helpful. Thanks. On Wednesday, September 13, 2017 at 3:04:09 PM UTC-7, Vijay Pai wrote: > > Hi there, > > Wanted to give a detailed reply to this question (though a bit late) since > it has come up numerous times. This is for the C++ API. > > Server-side request an RPC: ok indicates that

[grpc-io] Re: [grpc-java] All RPCs failed with DEADLINE_EXCEEDED

2017-09-27 Thread biran0079
Another thing I forgot to mention is, the issue starts happening after periodic health-check grpc call is removed, which makes me feel it is related to internal connection management. On Wednesday, September 27, 2017 at 4:20:03 AM UTC-7, Jorg Heymans wrote: > > Happy to see this being posted. We

[grpc-io] grpc-java on Raspberry Pi ARM

2017-09-27 Thread warren . qi
Hi gRPC team, I wanted to share my experience building gRPC on a Raspberry Pi model 3, linux ARM 32-bit. Reading previous posts, it simply wasn't such a popular HW :) I personally found gRPC to be great to use. It is a huge enabler for the robotic projects we're working on. Summary of my open

[grpc-io] [C++] Changing server configuration options on a running server

2017-09-27 Thread Arpit Baldeva
Hi, Currently, I set the desired configuration of the server before starting up mServerBuilder.AddChannelArgument(GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH, maxIncomingMessageSize); I did not see an obvious way to modify these arguments after the server has started and is running for some time. Is

[grpc-io] Community Meeting - September 28, 2017

2017-09-27 Thread 'April Kyle Nassi' via grpc.io
Hello everyone! We have a community meeting scheduled for tomorrow, and at the moment there are no agenda items proposed. Do you have a demo you'd like to share or a topic you wish to discuss? Please add to the doc if so, otherwise we will cancel this week's meeting and reconvene in 2 weeks. http:/

Re: [grpc-io] Why does not grpc use a lot of cpu?

2017-09-27 Thread 'Nathaniel Manista' via grpc.io
On Wed, Sep 27, 2017 at 8:18 AM, Gyuseong jo wrote: > [gRPC Python] seems to use only single core. > How many cores do you think it should use? How familiar are you with Python's Global Interpreter Lock (GIL) ? How likely do you think it is tha

[grpc-io] Re: mocking ServerCall

2017-09-27 Thread 'Carl Mastrangelo' via grpc.io
The @DoNotMock is enforced by a compiler plugin if you ave it turned on. Otherwise, it just acts as documentation. In general we prefer that you use a dummy service with InProcessChannelBuilder, rather than mocking. This makes for more reliable tests. On Monday, September 25, 2017 at 4:49:

[grpc-io] 申请更改 Google 网上论坛邀请设置

2017-09-27 Thread noreply
Google Groups (https://groups.google.com/d/overview) 帐号 grpc-io@googlegroups.com 已申请更改其 Google 网上论坛的 邀请设置。要确认此申请并更改选项,请使用 下方的邀请设置链接。 如果您未曾提交此申请,则可以忽略此通知。 邀请设置: https://groups.google.com/d/optout/I4v75xQBAAD3Z6SgEZy6kYZcYHkdTv-FSYd1Bm8OS3B0c31amgmrpf2DOakydRkWkoeIIh70sJpDkqHKlPyq3n1i6JX84vICwibfO

[grpc-io] 申请更改 Google 网上论坛邀请设置

2017-09-27 Thread noreply
Google Groups (https://groups.google.com/d/overview) 帐号 grpc-io@googlegroups.com 已申请更改其 Google 网上论坛的 邀请设置。要确认此申请并更改选项,请使用 下方的邀请设置链接。 如果您未曾提交此申请,则可以忽略此通知。 邀请设置: https://groups.google.com/d/optout/Js1hDhQBAAC5RISI0a8YbnpvONn50eijSYd1Bm8OS3B0c31amgmrpf2DOakydRkWkoeIIh70sJpDkqHKlPyq3n1i6JX84vICwibfO

[grpc-io] Re: Why does not grpc use a lot of cpu?

2017-09-27 Thread Gyuseong jo
> > This is server code: > def queryResult(self, request, context): count = 0 # for index in range(0, 1000): # count = count + index while True: count = count + 1 return None this use cpu 25% but this code use cpu 50% def que

[grpc-io] Re: Community Meeting - September 28, 2017

2017-09-27 Thread Osman Ali
Nothing to add currently. Possibly in two weeks! On Wednesday, September 27, 2017 at 3:30:15 PM UTC-7, April Kyle Nassi wrote: > > Hello everyone! We have a community meeting scheduled for tomorrow, and at > the moment there are no agenda items proposed. Do you have a demo you'd > like to share

[grpc-io] Call ClientReader's Finish() function ahead of schedule will cause program block forever

2017-09-27 Thread xiaonan830818
Hi all, I am using "A server-side streaming RPC where the client sends a request to the server and gets a stream to read a sequence of messages back. " mode: rpc transaction(request) returns (stream response) {} My current Client cod's logic is: if find response message format error, doesn'