Node.js 8.10 runtime now available in AWS Lambda
aws.amazon.com
aws.amazon.com
I'm pretty deep into this with https://checklyhq.com so not really an "ad hoc" user. Some open concerns for "real" production use are still:
- cost: memory heavy (1,5Gb) lambda get costly quickly
- stability: No reason to assume this is bad, but running a Chromium browser in Docker is/was pretty tricky
- startuptime: Booting Chrome might be a time suck
Coupling this with SQS triggers for Lambda might make spinning up VM's obsolete for my business.
We should hopefully see improved performance and startup times.
Also, I'd be interested to find out why this is so massive? We've been waiting a long time for this, and I get that Lambda is complex with lambda@edge and all that, but how much tweaking does AWS do to the node runtime before they can deploy this?
Node 8 has been out for 10 months, and it's been LTS for half a year - or did they simply wait for it to be stable enough to run, or anything specific in 8.10?
Not sure why it takes 10 months to move to the new runtime.
On the whole I feel like the JS/TS eco-system is getting better and better. Especially since browsers and runtimes are converging towards ES6/7 :)
No, it's not. Async/await is basically just syntactic sugar around promises.
expected runtime to be one of [nodejs4.3 nodejs6.10 java8 python2.7 python3.6 dotnetcore1.0 dotnetcore2.0 nodejs4.3-edge go1.x], got nodejs8.10
It might be due to my using TerraForm and that needing an update, but it's also not yet listed in the docs: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunct...Or perhaps it's not available in all regions yet?
See:
https://github.com/terraform-providers/terraform-provider-aw... (issue) https://github.com/terraform-providers/terraform-provider-aw... (PR)
https://www.npmjs.com/package/@browserless/aws-lambda-chrome
Still, it's disappointing that they couldn't change course (ever so slightly!) to accommodate the 8.11.0 security update from a week ago: https://nodejs.org/en/blog/release/v8.11.0/
Really hope they'll be keeping up-to-date with incremental Node 8 releases, now that they've (almost) caught up with the times.
I wonder if they purposefully wait for x.10 update (6.10 and 8.10) or it has something to do with internal management of projects.