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 > design is needed f

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 message because you are sub

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

2017-02-16 Thread Aditya
Is there a way to add external tcp socket fds to grpc event loop? -Aditya -- 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 po

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 in

Re: [grpc-io] Re: gRFC A6: Proposal to move gRPC into CNCF

2017-02-16 Thread kailashs via grpc.io
As there are no further comments or open discussion items, I have approved this gRFC. Varun, please feel free to implement the change proposed. On Monday, February 13, 2017 at 10:52:39 AM UTC-8, Kailash Sethuraman wrote: > > A heads up that if there is no further discussion here, the gRFC will

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

2017-02-16 Thread kailashs via grpc.io
Hi Jason, Thanks for sending this proposal, I took a look and had some comments: 1) As per the proposal, I think that the recommended approach is indeed go down the path of a java library wrapper. JNI wrapping is another possibility, but we should first investigate whether the Java wrapper is

[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 usin

[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 (x64-mingw32, > x86_64-linux, u

Re: [grpc-io] async model rpc sequence

2017-02-16 Thread Arpit Baldeva
Thanks for the clarification! On Wednesday, February 15, 2017 at 5:48:01 PM UTC-8, Craig Tiller wrote: > > You've misunderstood :) > > The server application needs to request incoming calls, and we need to > match them to requests as they come in. We arbitrarily reverse to order of > matching

[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 th

[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 Jacks Gong
Okay, , Thanks. On Thursday, February 16, 2017 at 4:41:58 PM UTC+8, Stanley Cheung wrote: > > 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 >

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 it

[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: https://github.com/grpc/grpc/tree/master/src/php#use-the-