grpc + appengine? Is this possible?

2,844 views
Skip to first unread message

Derek Perez

unread,
Mar 3, 2015, 6:24:22 PM3/3/15
to grp...@googlegroups.com

Is it possible to use grpc with Appengine? Or am I only able to use GCE if I want to stick with Google Cloud Platform?

Louis Ryan

unread,
Mar 3, 2015, 6:43:20 PM3/3/15
to Derek Perez, grp...@googlegroups.com
Currently no, this is something we're actively looking at addressing. Stay tuned.

On Tue, Mar 3, 2015 at 3:24 PM, Derek Perez <de...@derekperez.com> wrote:

Is it possible to use grpc with Appengine? Or am I only able to use GCE if I want to stick with Google Cloud Platform?

--
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+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/776c33a0-f0a4-40ff-93c4-ecb972b30ff3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

eyal...@gmail.com

unread,
May 4, 2015, 8:29:53 AM5/4/15
to grp...@googlegroups.com, de...@derekperez.com
Any updates on that?

Assuming not I'm thinking of a mid-term workaround by using appengine sockets and building the request directly.

How hard will it be to write a function which is supposed to send a specific RPC request, That is, a function which gets a specific proto, open a socket to a GCE hosted grpc server send the request (I assume the request should have the serialized proto + few other stuff)?

The alternative is to create an http server on GCE as a grpc bridge, but the first option is better assuming it's not too hard to implement.

Louis, do you think my suggestion is reasonable? or is the grpc protocol is too complicated to do something simple as that?

Louis Ryan

unread,
May 4, 2015, 2:28:50 PM5/4/15
to eyal...@gmail.com, grpc-io, Derek Perez, Ludovic Champenois
+cc Ludo who's team is working on GRPC for AppEngine v2.

Which language are you interested in doing this with? For Java, I doubt plugging the AE socket API below one of the GRPC transport implementation (Netty / OkHttp) would be all that difficult but its not something I've looked at. 

Eyal Fink

unread,
May 4, 2015, 2:31:40 PM5/4/15
to Louis Ryan, grpc-io, Derek Perez, Ludovic Champenois
Thanks for the reply,
I'm using python.

Louis Ryan

unread,
May 4, 2015, 2:38:38 PM5/4/15
to Eyal Fink, grpc-io, Derek Perez, Nathaniel Manista
+cc Nathaniel -Ludo

Nathaniel Manista

unread,
May 19, 2015, 11:05:07 PM5/19/15
to Eyal Fink, Louis Ryan, grpc-io, Derek Perez, Ludovic Champenois
On Mon, May 4, 2015 at 11:31 AM, Eyal Fink <eyal...@gmail.com> wrote:
I'm using python.

Hi Eyal-
    For Python in particular: we want to do it but implementation has not yet started so I speculate that it is months away at earliest. For App Engine's other supported languages I believe the work is being done independently so it will arrive either before or after Python but not, except by coincidence, around the same time.
-Nathaniel

Eyal Fink

unread,
May 19, 2015, 11:23:53 PM5/19/15
to Nathaniel Manista, Louis Ryan, grpc-io, Derek Perez, Ludovic Champenois
Thanks Nathaniel for the reply!

A follow up question (which is related since it can eliminate the need for GAE):
Any chance you are planning to to release a Cloud Endpoints wrapping around grpc? After all if I have a gRPC service running, it seems that letting my client code which now talks to my GAE endpoints talk directly to it can be done without any specific code, right?

Nathaniel Manista

unread,
May 21, 2015, 10:13:43 PM5/21/15
to Eyal Fink, Louis Ryan, grpc-io, Derek Perez, Ludovic Champenois
On Tue, May 19, 2015 at 8:23 PM, Eyal Fink <eyal...@gmail.com> wrote:
A follow up question (which is related since it can eliminate the need for GAE):
Any chance you are planning to to release a Cloud Endpoints wrapping around grpc?

I have trouble seeing that far ahead. ;-)

After all if I have a gRPC service running, it seems that letting my client code which now talks to my GAE endpoints talk directly to it can be done without any specific code, right?

That does seem like a smart facility to build.
-N

Wolfgang Grieskamp

unread,
May 21, 2015, 10:29:14 PM5/21/15
to Nathaniel Manista, Eyal Fink, Louis Ryan, grpc-io, Derek Perez, Ludovic Champenois
On Thu, May 21, 2015 at 7:13 PM, 'Nathaniel Manista' via grpc.io <grp...@googlegroups.com> wrote:
On Tue, May 19, 2015 at 8:23 PM, Eyal Fink <eyal...@gmail.com> wrote:
A follow up question (which is related since it can eliminate the need for GAE):
Any chance you are planning to to release a Cloud Endpoints wrapping around grpc?

I have trouble seeing that far ahead. ;-)

It depends on what you define as far ;-)
 

After all if I have a gRPC service running, it seems that letting my client code which now talks to my GAE endpoints talk directly to it can be done without any specific code, right?

That does seem like a smart facility to build.
-N

--
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+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.

Alexander Yevsyukov

unread,
Aug 15, 2015, 2:21:29 PM8/15/15
to grpc.io, lu...@google.com
We are interested in Java support.  Is there a chance for early adopters preview?

We've got an app under AppEngine, with Web and Android clients, and iOS client development recently started. Protobuf and gRPC will help us a lot.

acha...@brightcove.com

unread,
Jan 20, 2016, 2:09:25 PM1/20/16
to grpc.io, lu...@google.com
Any updates on this?

Miguel Vitorino

unread,
Mar 30, 2016, 6:46:26 AM3/30/16
to grpc.io, lu...@google.com

Found this interim solution from a Google developer http://nodir.io/post/138899670556/prpc.
Haven't tested it though.. has anyone?

jeff...@gmail.com

unread,
Jul 30, 2016, 4:44:45 AM7/30/16
to grpc.io, lu...@google.com
hi,

Any updates on golang grpc support on app-engine?
Are we looking at months or a year?

no...@google.com

unread,
Aug 1, 2016, 3:46:53 PM8/1/16
to grpc.io, lu...@google.com, jeff...@gmail.com
(shameless plug)
You may find pRPC useful: basically allows you to run a gRPC service on appengine via HTTP 1. Unlike grpc, does not support streaming, supports making RPCs from the browser.

Ernesto Alejo

unread,
Aug 1, 2016, 4:01:07 PM8/1/16
to grpc.io, lu...@google.com, jeff...@gmail.com, no...@google.com
It is similar to https://github.com/grpc-ecosystem/grpc-gateway isn't it? I can see you have a CLI tool that could be great for testing and some helpers for App Engine though.

Nodir Turakulov

unread,
Aug 1, 2016, 4:13:16 PM8/1/16
to Ernesto Alejo, grpc.io, lu...@google.com, jeff...@gmail.com
yeah, looks similar
there is also UI for making RPCs with docs-from-comments and request autocompletion and a discovery service

Jeff Kusi

unread,
Aug 2, 2016, 12:53:27 AM8/2/16
to Nodir Turakulov, Ernesto Alejo, grpc.io, lu...@google.com
Haha Nodir,

So funny enough, I watched your tech talk after asking the question on here.
I'm definitely going to use it :)

Ankur Chauhan

unread,
Aug 2, 2016, 2:19:59 AM8/2/16
to Jeff Kusi, Nodir Turakulov, Ernesto Alejo, grpc.io, lu...@google.com
Do you have a link to the tech talk. I would be very interested in something like that.

You received this message because you are subscribed to a topic in the Google Groups "grpc.io" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grpc-io/3KYVLrNJiT4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grpc-io+u...@googlegroups.com.

To post to this group, send email to grp...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Ankur Chauhan

Nodir Turakulov

unread,
Aug 2, 2016, 2:33:56 AM8/2/16
to Ankur Chauhan, Jeff Kusi, Ernesto Alejo, grpc.io, lu...@google.com
a blog post and the tech talk: http://nodir.io/post/138899670556/prpc

Paul Grosu

unread,
Aug 2, 2016, 2:56:58 PM8/2/16
to grpc.io, acha...@brightcove.com, jeff...@gmail.com, ernest...@gmail.com, lu...@google.com, no...@google.com
Hi Nodir,

Thank you for sharing this nice demo.  Where are there more tech-talks like this?

Thank you,
Paul

Nodir Turakulov

unread,
Aug 2, 2016, 6:10:19 PM8/2/16
to Paul Grosu, grpc.io, acha...@brightcove.com, jeff...@gmail.com, ernest...@gmail.com, lu...@google.com
thank you for your interest. There were no more tech talks about prpc.

cam...@tachyus.com

unread,
Oct 11, 2016, 2:07:42 PM10/11/16
to grpc.io, eyal...@gmail.com, de...@derekperez.com, lu...@google.com
I was hoping to host a gRPC service I wrote that manages a GKE cluster in AppEngine. Is this still not possible? The http://www.grpc.io/docs/ has a "Web *(Coming soon) - Early Access Sign Up". I tried to sign up, but haven't heard back. I wrote the service in Go. Will it be possible to host gRPC services on the same port in combination with other web frameworks like Iris. Same question for .NET, will it be possible possible to host gRPC services along side ASP.NET applications on the same port?

cheers,
Cameron

Louis Ryan

unread,
Oct 11, 2016, 3:39:43 PM10/11/16
to cam...@tachyus.com, grpc.io, Eyal Fink, Derek Perez, Ludovic Champenois, Wenbo Zhu
+cc wenbo

To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.

To post to this group, send email to grp...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages