AWS Lambda, meet Node.js v10

AWS Lambda, meet Node.js v10

Amazon has added Node.js v10 support to its Lambda serverless computing platform on the AWS cloud, delivering claimed performance improvements. Lambda functions written in Node.js 10 will also run on the latest generation of Amazon Linux, Amazon Linux 2.

AWS Lambda is the cloud giant’s version of serverless computing, under which code is run in response to specific events. It supports code in a number of languages, including Python, Java, C# and Ruby, with users paying only for the time the code is actually running.

With the addition of Node.js v10, Lambda supports two Node.js runtimes – Node.js 8.10 is still currently supported. However, the latter is now in the maintenance phase of the Node.js support lifecycle and due to transition to end of life at the end of 2019, while v10 is currently in the Long Term Support (LTS) phase.

Node.js v10 brings with it the latest release of the V8 JavaScript Engine from the open-source Chromium project. This introduces a number of changes in the way code is compiled and cached that are designed to boost performance.

From Node.js v10 onwards, AWS Lambda will automatically update the language minor versions to latest minor version, as specified by the Node.js project team, according to AWS.

Developers with existing Node.js functions can switch to the new version by making any code changes required to ensure compatibility with the new runtime, and editing their function configuration to update the runtime version.

AWS said the new Node.js v10 runtime has now been rolled out in all regions where Lambda is available.