Re: [grpc-io] Adding external sockets to grpc event loop

2017-02-16 Thread Aditya
Thanks for the reply Craig. Is it possible to do this without adding hacks right now? Can you briefly describe how would you go about doing this? On Thu, Feb 16, 2017 at 10:29 PM Craig Tiller wrote: > There's not currently, but there's no deep philosophical reason not to. A

Re: [grpc-io] Adding external sockets to grpc event loop

2017-02-16 Thread 'Craig Tiller' via grpc.io
There's not currently, but there's no deep philosophical reason not to. A design is needed for how it would function. On Thu, Feb 16, 2017, 9:22 PM Aditya wrote: > Is there a way to add external tcp socket fds to grpc event loop? > > -Aditya > > -- > You received this

Re: [grpc-io] node.js multiplexing client channels, [is this hack safe?]

2017-02-16 Thread 'Michael Lumish' via grpc.io
You should have no problems with this approach, but it also shouldn't be necessary. gRPC already uses HTTP2 pings to keep channels alive while they're otherwise idle. If you're still seeing disconnects, there are a couple of channel options you can set (they go into an object in the third argument

Re: [grpc-io] Re: GRFC L4 Add JRuby Support

2017-02-16 Thread Nicolas Noble
Personally, I wouldn't see Kailash's last comment as a minor comment as he says; this is a major problem with that gRFC: deciding between JNI or Java, and outlining the details of how to actually implement an API that would be compatible with the current one is a design decision that needs to be

[grpc-io] Re: tcp_server_posix.c:395] Failed accept4: Invalid argument

2017-02-16 Thread 'David Garcia Quintas' via grpc.io
Hi Okke, Not really answering what the cause of that error was, but, would it be possible for you to upgrade to a more recent version? Lots of bug fixes have happened around that part of the codebase. On Wednesday, 30 November 2016 00:37:00 UTC-8, Okke Hendriks wrote: > > > Hello, > > I am

[grpc-io] Re: GRFC L4 Add JRuby Support

2017-02-16 Thread Mike Moore
On Thu, Feb 16, 2017 at 9:08 AM, Jason Lunn wrote: > It has probably been a decade since I had a reason to try to use JNI. Does > anyone have any experience building Gems using that approach? Would it be > the case that there would be one JAR per supported platform

[grpc-io] Re: GRFC L4 Add JRuby Support

2017-02-16 Thread Jason Lunn
It has probably been a decade since I had a reason to try to use JNI. Does anyone have any experience building Gems using that approach? Would it be the case that there would be one JAR per supported platform (x64-mingw32, x86_64-linux, universal-darwin, x86-mingw32), or would it be a fat jar

[grpc-io] grpc-go: client for service reflection

2017-02-16 Thread Josh Humphries
I noticed there is a server-side implementation in Go for service reflection

Re: [grpc-io] How can I use nginx 1.9.5 as reverse proxy with gRPC?

2017-02-16 Thread 'Stanley Cheung' via grpc.io
The PHP use case is as follows: - Your frontend client (e.g. browser, mobile) is hitting your Nginx reverse proxy - Perhaps that's a PHP script that the user is requesting. Nginx is launching a fastcgi process to run your PHP script. - This PHP script can be used as a gRPC client

[grpc-io] How can I use nginx 1.9.5 as reverse proxy with gRPC?

2017-02-16 Thread igzhenjie
Thanks guys, It's very pleasure to join this group. I want to write my backend code with Java, and my reverse proxy engine is NGINX 1.11.9(which has been supported HTTP/2), I saw the gRPC PHP has been adapted with NGINX with the doc: