[grpc-io] Re: Does gRPC support password protected SSL keys?

2018-01-04 Thread chris . buffett
For my needs specifically, C++, though ideally this would be supported across all languages as part of general SSL support in gRPC. On Thursday, 4 January 2018 16:37:40 UTC-8, Carl Mastrangelo wrote: > > What language? > > On Tuesday, December 19, 2017 at 10:23:54 AM UTC-8, chris@gmail.com

[grpc-io] Upcoming CFP Deadline

2018-01-04 Thread 'April Kyle Nassi' via grpc.io
Happy New Year all! Quick note that there is a big CFP closing soon, for a conference you may be interested in. First up is the KubeCon/CNC Europe, which is taking place in Copenhagen this May. The CFP for that one closes on January 12

[grpc-io] Re: how to flush messages on server

2018-01-04 Thread 'Carl Mastrangelo' via grpc.io
You should cast from the StreamObserver to a CallStreamObserver and only send messages when isReady() is true. You can wait for it to become true by setting an isReady handler (look in that class for the exact method name). On Thursday, December 28, 2017 at 5:05:48 PM UTC-8,

[grpc-io] Re: Does gRPC support password protected SSL keys?

2018-01-04 Thread 'Carl Mastrangelo' via grpc.io
What language? On Tuesday, December 19, 2017 at 10:23:54 AM UTC-8, chris@gmail.com wrote: > > Looking to use SSL in my client application. The SSL keys we use are often > passphrase encrypted. Libcurl supports passing in the passphrase as an > option, but I've been unable to find any such

[grpc-io] Re: Java Blocking Stub inside StreamObserver

2018-01-04 Thread 'Carl Mastrangelo' via grpc.io
It is safe to block in your async stub. You just won't get any more notifications for that particular stub until you finish blocking. Other RPCs will proceed normally. On Wednesday, December 27, 2017 at 12:08:23 PM UTC-8, oddbal...@gmail.com wrote: > > It might also be of use to note that

[grpc-io] Re: Does anyone notice high context switches in grpc 181 compared with grpc 134?

2018-01-04 Thread 'Carl Mastrangelo' via grpc.io
Could you clarify what versions you are talking about, and what amount of context switching you are seeing? On Thursday, December 28, 2017 at 9:30:37 PM UTC-8, weng...@gmail.com wrote: > > The throughput is not so high, about 2000 qps. And java client saw more > timeout. > -- You received

Re: [grpc-io] client and server stub not generated grpc-go

2018-01-04 Thread Josh Humphries
For go, you must enable the grpc plugin. This is done via prefix to the --go_out parameter: protoc --go_out=*plugins=grpc:*. grpc_tester.proto *Josh Humphries* jh...@bluegosling.com On Thu, Jan 4, 2018 at 2:52 PM, Amandeep Gautam wrote: > I am trying to write

Re: [grpc-io] python grpc worker or thread setting

2018-01-04 Thread heidi
Thank you. I'll check it again. 2018년 1월 5일 금요일 오전 11시 39분 45초 UTC+9, Ken Payson 님의 말: > > > > On Thu, Jan 4, 2018 at 6:25 PM, wrote: > >> Hi! I'm Heidi. >> I'm trying to build an api with python. >> I try to build with grpc. >> Post the image file to grpc server. >> The gprc

Re: [grpc-io] python grpc worker or thread setting

2018-01-04 Thread heidi
my server.py code: from concurrent import futures import time import os import grpc import helloworld_pb2 import helloworld_pb2_grpc ## my function from my_function import my_class _ONE_DAY_IN_SECONDS = 60 * 60 * 24 class

[grpc-io] gRPC is it accessible from the external ip?

2018-01-04 Thread heidi
Hi guys. I want to access the grpc ip in an external environment. This is my server.py IP configuration. *server.add_insecure_port ('192. ***. ***. ***: 5000')* And this is the client.py IP configuration. *channel = grpc.insecure_channel ('192. ***. ***. ***: 5000')* Running server.py and

Re: [grpc-io] python grpc worker or thread setting

2018-01-04 Thread 'Ken Payson' via grpc.io
On Thu, Jan 4, 2018 at 6:25 PM, wrote: > Hi! I'm Heidi. > I'm trying to build an api with python. > I try to build with grpc. > Post the image file to grpc server. > The gprc server detects the object by deep-running the requested image > file. > > First question: How do I

[grpc-io] python grpc worker or thread setting

2018-01-04 Thread heidi
Hi! I'm Heidi. I'm trying to build an api with python. I try to build with grpc. Post the image file to grpc server. The gprc server detects the object by deep-running the requested image file. First question: How do I transfer an image file to the server? Show me an example. For example, when

Re: [grpc-io] Re: gRFC L16 on new API to make gRPC C++ library initialization explicit

2018-01-04 Thread Arpit Baldeva
Hi Yang, Sorry for the delayed reply. I was on vacation. Let me restate the problem very simply - Currently, I can't call grpc::Server::Shutdown without first making sure that all the "operations" are completed first but without calling grpc::Server::Shutdown, the server keeps sending me work

Re: [grpc-io] Streamed ve non Streamed services speed

2018-01-04 Thread marcbegemot
thank you so much now it makes perfect sense -- 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