Re: [grpc-io] How to create multiple TCP connection and break a TCP connection?

2019-08-19 Thread xia rui
Thank you for the helpful suggests. On Tuesday, August 20, 2019 at 1:26:15 PM UTC+8, Thomas Mercier wrote: > > Hi, > > This is what you want for problem 1: > > ChannelArguments args; > args.SetInt(GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL, 1); > > >

Re: [grpc-io] How to create multiple TCP connection and break a TCP connection?

2019-08-19 Thread Thomas Mercier
Hi, This is what you want for problem 1: ChannelArguments args; args.SetInt(GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL, 1); https://stackoverflow.com/questions/53564748/how-do-i-force-my-grpc-client-to-open-multiple-connections-to-the-server Easiest way to cycle a connection is probably to destroy the

[grpc-io] How to create multiple TCP connection and break a TCP connection?

2019-08-19 Thread xia rui
Hello everyone. I am using gRPC to build a simple client-server application. In the client side, I start multiple threads to send requests to a server (target is an identical gRPC call). In the server side, it opens a socket (localhost:50051) and waits for requests. Now, I create three request

Re: [grpc-io] Re: [C++] SSL certificate reload api

2019-08-19 Thread yihuaz via grpc.io
Hi Jeff, I do not think we have any plan to add C++ API for SSL credential reloading. Is it an option for you to use SPIFFE ( https://github.com/grpc/grpc/blob/master/include/grpc/grpc_security.h#L929)? we are currently working on its C++ API and will plan to get it done by the end of Sep.

Re: [grpc-io] gRPC not installed in php extensions dir

2019-08-19 Thread 'Stanley Cheung' via grpc.io
Are you running the system-installed PHP binary, but tried to load homebrew-installed extensions? They have to go in pairs. If you install the extension via homebrew, you may need to find the extension grpc.so file within your homebrew installation directory. In any case, are you able to install

[grpc-io] gRPC-Core Release 1.23.0 gangnam

2019-08-19 Thread karthikrs via grpc.io
This is 1.23.0 gangnam release announcement for gRPC-Core and the wrapped languages C++, C#, Objective-C, Python, PHP and Ruby. Latest release notes are here. Core --- - Backport #19924 to v1.23.x. ([#19935](https://github.com/grpc/grpc/pull/19935)) - Add missing APP callback context for

Re: [grpc-io] Re: Is grpc supported on PowerPC architecture?

2019-08-19 Thread Nicolas Noble
We have no plan on supporting powerpc, as we can't properly test on it. On Sun, Aug 18, 2019 at 10:58 PM kumar raja wrote: > Can someone please respond to this question? > > On Saturday, 17 August 2019 08:39:15 UTC+5:30, kumar raja wrote: >> >> I am trying to compile grpc on Power PC arch (Open

[grpc-io] Build Process When Using Multitude Languages

2019-08-19 Thread Joey
Hello everyone :-) The company I'm working with embraced gRPC a while ago (micro-service architecture). The gRPC implementation we use in the official Java implementation, and here's how our build process looks like: - Each micro-service has it own git repository. - If Micro-service (named

Re: [grpc-io] gRPC not installed in php extensions dir

2019-08-19 Thread Fre Feys
Thank you Stanley I disabled the SIP in recovery mode, restarted the system. Installed using gRPC with homebrew. Still have the same error: "PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/grpc.so’ -….. “ What can I do? Thanks Fred > On 19