Plans for Node.js on App Engine Standard?

960 views
Skip to first unread message

Wilfred van der Deijl

unread,
Mar 21, 2017, 9:10:45 AM3/21/17
to Google App Engine
Hi,

Does anyone know if there are any plans for Node.js on App Engine Standard? I do see some notes (and alpha request form) for Java8 on Standard, but I see no mention of Node.js.
I am aware of the Node.js support on App Engine Flex, but we would prefer to use Standard. Not only for some of the API's that are unique to standard, but mainly for the scaling down to 0 instances. This makes it ideal for APIs that aren't used frequently and for dev/test scenarios.

Thanks

Jordan (Cloud Platform Support)

unread,
Mar 23, 2017, 2:58:41 PM3/23/17
to Google App Engine
There are currently no plans for Node.js on App Engine Standard that I am aware of. I highly recommend you file this feature request on the Issue Tracker, as it will be properly routed to the engineering team there. 

Note that scaling to zero instances in the App Engine Flexible Environment is indeed being worked on by our engineering team as it is now in GA (general availability). There is currently no ETA for the implementation yet. 

Jason Collins

unread,
Mar 25, 2017, 11:39:05 AM3/25/17
to Google App Engine
"Not only for some of the API's that are unique to standard"

Wilfred, which APIs specifically?

Jeff Schnitzer

unread,
Mar 25, 2017, 2:06:06 PM3/25/17
to Google App Engine
On Sat, Mar 25, 2017 at 8:39 AM, Jason Collins <jason.a...@gmail.com> wrote:
"Not only for some of the API's that are unique to standard"

Wilfred, which APIs specifically?

The most notable are the Task Queue API (with the ability to transactionally enqueue tasks) and the Search API.

Jeff 

Jason Collins

unread,
Mar 26, 2017, 1:19:13 PM3/26/17
to Google App Engine
"ability to transactionally enqueue tasks" <-- probably my favourite feature.

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/68fg3RwWdFQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CADK-0ujt91bCQOL0Auf1CVMai-gZtjPfZhzxKjCohrki%3Doikdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jeff Schnitzer

unread,
Mar 26, 2017, 3:06:01 PM3/26/17
to Google App Engine
Me too! I don’t understand how anyone can use the task queue without it.

I’m spinning up a postgres-based project that needs to use the task queue. Looks like I’m going to have to write tasks into a table then have a separate reaper process that shuttles them into the task queue. Sure wish I had a generalized way of doing 2pc enqueueing on the queue…

Jeff

On Sun, Mar 26, 2017 at 10:18 AM, Jason Collins <jason.a...@gmail.com> wrote:
"ability to transactionally enqueue tasks" <-- probably my favourite feature.

On Sat, 25 Mar 2017 at 11:06 Jeff Schnitzer <je...@infohazard.org> wrote:
On Sat, Mar 25, 2017 at 8:39 AM, Jason Collins <jason.a...@gmail.com> wrote:
"Not only for some of the API's that are unique to standard"

Wilfred, which APIs specifically?

The most notable are the Task Queue API (with the ability to transactionally enqueue tasks) and the Search API.

Jeff 

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/68fg3RwWdFQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

Attila-Mihaly Balazs

unread,
Mar 27, 2017, 3:09:43 AM3/27/17
to Google App Engine, je...@infohazard.org
Note that there is an (undocumented AFAIK) restriction that you can't transactionally enqueue *named* tasks :-(

Attila

Jordan (Cloud Platform Support)

unread,
Mar 27, 2017, 2:06:31 PM3/27/17
to Google App Engine, je...@infohazard.org
Transactional Tasks are coming to the new Cloud Tasks API which will be accessible via App Engine Flex and other Google Cloud products. You can sign up for the Alpha release of Cloud Tasks to try it out. Note there is currently no ETA for the Transactional Task integration. 

Attila-Mihaly Balazs

unread,
Mar 27, 2017, 2:27:35 PM3/27/17
to Google App Engine, je...@infohazard.org
Thank you.

Also, to give task queues their due: they DO support transactional adding of tasks, just NOT for named tasks.

Attila

Jeff Schnitzer

unread,
Mar 27, 2017, 3:43:02 PM3/27/17
to Attila-Mihaly Balazs, Google App Engine
You can only transactionally enqueue tasks from GAE standard using the ApiProxy-based interface. You cannot yet transactionally enqueue tasks (named or otherwise) with the new REST-based APIs for the datastore and task queue. Flex only supports the REST APIs.

It’s great to hear that this is on the roadmap! Thanks Jordan.

Jeff

Attila-Mihaly Balazs

unread,
Mar 28, 2017, 1:55:40 AM3/28/17
to Google App Engine, dify...@gmail.com, je...@infohazard.org
Yes, that's exactly right Jeff. Thank you for formulating it clearly!

Attila

Martin Asquino

unread,
Jul 19, 2017, 10:42:28 PM7/19/17
to Google App Engine, dify...@gmail.com, je...@infohazard.org
Hate to necro this thread but.. is this still the case today? And more importantly is there any reason for nodejs not being supported in standard environments? I'm not saying that time or better things to do are not good enough reasons, but I mean like any technical reason for it not to be availabe? Or should I expect this sometime in the future?

Brian de Alwis

unread,
Jul 21, 2017, 1:45:12 PM7/21/17
to google-a...@googlegroups.com, dify...@gmail.com, je...@infohazard.org
Have you looked at Cloud Functions?  The pricing model is different, but there's a free tier too.


Brian.

On 19-Jul-2017, at 10:19 PM, Martin Asquino <martin....@gmail.com> wrote:

Hate to necro this thread but.. is this still the case today? And more importantly is there any reason for nodejs not being supported in standard environments? I'm not saying that time or better things to do are not good enough reasons, but I mean like any technical reason for it not to be availabe? Or should I expect this sometime in the future?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

jonobr1

unread,
May 25, 2018, 9:22:03 AM5/25/18
to Google App Engine
I heard at Google IO 2018 that they would be introducing Node.js to AppEngine Standard Environment. Does anyone know timing for this?


And also.., how it works exactly? Like when it spins up an instance does it run npm install and some other sets of commands? Is the pricing comparable to the python environment? Very curious about this feature!

Attila-Mihaly Balazs

unread,
May 26, 2018, 12:58:53 AM5/26/18
to Google App Engine
If I would have to guess I would say it will work as with Python:

- you will have to install all the dependencies locally, before deployment
- the deploy will just copy your "npm_modules" to the cloud

Attila

Steren Giannini

unread,
May 29, 2018, 12:21:20 PM5/29/18
to google-a...@googlegroups.com
Hi,
I am Steren, Product Manager on App Engine, I was the person on stage introducing Node.js on App Engine Standard.

We are aiming for a Beta release in the upcoming weeks. In the meantime, you can request access by filling this form: https://goo.gl/forms/wAYBySsK9sc074hk2 (we currently reached the limit of testers, but we will try to invite more as soon as we can).

When you deploy your app, `npm install` is performed on our server (we skip the upload of your node_modules). Then, when an instance is started, we run `npm start`.

The pricing is the same as other App Enging Standard runtimes (including the free tier)

Thanks for your interest,
Your feedback is welcome
Steren

Reply all
Reply to author
Forward
0 new messages