Re: [grpc-io] [iOS] SSL Mutual TLS

2018-08-06 Thread 'Muxi Yan' via grpc.io
Hi Rob, I am not familiar with the c# API. CC'ing jtattermusch@ who can definitely help. On Mon, Aug 6, 2018 at 6:10 PM Rob Cecil wrote: > Muxi, how would a c# server specify mutual TLS ? > > Thanks > > On Mon, Aug 6, 2018 at 8:43 PM Muxi Yan wrote: > >> Requirement of mutual TLS is from

Re: [grpc-io] [iOS] SSL Mutual TLS

2018-08-06 Thread Rob Cecil
Muxi, how would a c# server specify mutual TLS ? Thanks On Mon, Aug 6, 2018 at 8:43 PM Muxi Yan wrote: > Requirement of mutual TLS is from server's configurations. If it is > required by the server, the client can configure it with this function >

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

2018-08-06 Thread 'Srini Polavarapu' via grpc.io
If your workload is CPU intensive then you should pre-fork your subprocesses and have each one start their own gRPC server. gRPC-Python does not support forking after the server is created. If your workload is not CPU intensive (i.e., subprocesses/threads block on I/O frequently) then using

[grpc-io] [iOS] SSL Mutual TLS

2018-08-06 Thread Rob Cecil
The online Grpc guide for authorization: https://grpc.io/docs/guides/auth.html Speaks about SSL/TLS: - *SSL/TLS*: gRPC has SSL/TLS integration and promotes the use of SSL/TLS to authenticate the server, and to encrypt all the data exchanged between the client and the server.

[grpc-io] Re: [iOS / Objective-C] Seeking guidance for configuration for SSL

2018-08-06 Thread Rob Cecil
I logged a bug on the Grpc tracker to add more examples in this area. I'm confused about how to properly configure SSL on iOS. Here we have code that uses 'useTestCertPath' with comment:

[grpc-io] Re: [C++] How to detect client disconnect on synchronous streaming server

2018-08-06 Thread 'Yang Gao' via grpc.io
It sounds like the problem is similar to #15889 as you mentioned. We should continue the discussion in the issue. On Wednesday, July 18, 2018 at 10:47:51 AM UTC-7, banshe...@googlemail.com wrote: > > In principle, yes. I also already compiled a minimal reproducing example. > However I found

[grpc-io] Re: [C++] Server Mocking for Unit Testing (mock stream)

2018-08-06 Thread 'Yang Gao' via grpc.io
You are right. Currently there is no support for mocking server side sync reader/writer objects.. and it can only be tested with a real client and grpc library. On Friday, July 6, 2018 at 5:23:36 AM UTC-7, Alex Shaver wrote: > > When I have a service that has a simple unary interaction, writing

[grpc-io] Re: gRPC keepalive Ruby

2018-08-06 Thread apolcyn via grpc.io
The way in that the server response stream is is sent with a "pull API" rather than "push API" indeed prevents e.g. detecting failed writes from the application's stream handler. Is is possible to continuously read from the "requests from client stream" enumerable on the server - that "requests

Re: [grpc-io] How to intercept every client request and add some attributes to it and collect at the server end

2018-08-06 Thread Josh Humphries
On Mon, Aug 6, 2018 at 3:13 PM shailendra kumar wrote: > Thanks Josh. > I tried with ClientInterceptor and ServerInterceptor. Its working fine. > I have implemented in java. > Will this interceptor work for http request through postman ? > I assume you are using grpc-gateway (or something

Re: [grpc-io] How to intercept every client request and add some attributes to it and collect at the server end

2018-08-06 Thread shailendra kumar
Thanks Josh. I tried with ClientInterceptor and ServerInterceptor. Its working fine. I have implemented in java. Will this interceptor work for http request through postman ? e.g - for path /v1/health will these interceptor invoke the request ?? rpc healthCheck(google.protobuf.Empty) returns

[grpc-io] gRPC in react native mobile app

2018-08-06 Thread chandreshpancholi007
Hi, I am planning to build a mobile app using react native. I want to use gRPC call to the backend server. Please suggest how to do it? It would be great if you can share the basic tutorial/blog for react native gRPC integration. I am running backend server in go. Thanks -- You received