π Lambda + Node.js 18.x: π
https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/
πΉ Node.js 18 is now supported by Lambda. When building your Lambda functions using the zip archive packaging style, use a runtime parameter value of
πΈ For existing Node.js functions, review your code for compatibility with Node.js 18, including deprecations, then migrate to the new runtime by changing the functionβs runtime configuration to
#Lambda
https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/
πΉ Node.js 18 is now supported by Lambda. When building your Lambda functions using the zip archive packaging style, use a runtime parameter value of
nodejs18.x to get started building with Node.js 18.πΈ For existing Node.js functions, review your code for compatibility with Node.js 18, including deprecations, then migrate to the new runtime by changing the functionβs runtime configuration to
nodejs18.x.#Lambda
Amazon
Node.js 18.x runtime now available in AWS Lambda | Amazon Web Services
Node.js 18 is now supported by Lambda. When building your Lambda functions using the zip archive packaging style, use a runtime parameter value of nodejs18.x to get started building with Node.js 18.
π6β€βπ₯3
π Lambda SnapStart:
https://aws.amazon.com/blogs/aws/new-accelerate-your-lambda-functions-with-lambda-snapstart/
β» Lambda SnapStart can improve startup performance for latency-sensitive applications by up to 10x at no extra cost, typically with no changes to your function code. The largest contributor to startup latency (often referred to as cold start time) is the time that Lambda spends initializing the function, which includes loading the function's code, starting the runtime, and initializing the function code.
β» With SnapStart, Lambda initializes your function when you publish a function version. Lambda takes a Firecracker microVM snapshot of the memory and disk state of the initialized execution environment, encrypts the snapshot, and caches it for low-latency access. When you invoke the function version for the first time, and as the invocations scale up, Lambda resumes new execution environments from the cached snapshot instead of initializing them from scratch, improving startup latency.
β οΈ Important
β£ If your applications depend on uniqueness of state, you must evaluate your function code and verify that it is resilient to snapshot operations. For more information, see Handling uniqueness with Lambda SnapStart.
SnapStart supports:
β Java 11 runtime
SnapStart does not support:
β provisioned concurrency
β arm64
β Lambda Extensions
β EFS
β
βΉοΈ You can't use SnapStart on a function's unpublished version (
SnapStart vs Provisioned Concurrency
π Use Provisioned Concurrency if your application has strict cold start latency requirements.
π SnapStart helps you improve startup performance by up to 10x at no extra cost.
β You can't use both SnapStart and Provisioned Concurrency on the same function version.
#Lambda
https://aws.amazon.com/blogs/aws/new-accelerate-your-lambda-functions-with-lambda-snapstart/
β» Lambda SnapStart can improve startup performance for latency-sensitive applications by up to 10x at no extra cost, typically with no changes to your function code. The largest contributor to startup latency (often referred to as cold start time) is the time that Lambda spends initializing the function, which includes loading the function's code, starting the runtime, and initializing the function code.
β» With SnapStart, Lambda initializes your function when you publish a function version. Lambda takes a Firecracker microVM snapshot of the memory and disk state of the initialized execution environment, encrypts the snapshot, and caches it for low-latency access. When you invoke the function version for the first time, and as the invocations scale up, Lambda resumes new execution environments from the cached snapshot instead of initializing them from scratch, improving startup latency.
β οΈ Important
β£ If your applications depend on uniqueness of state, you must evaluate your function code and verify that it is resilient to snapshot operations. For more information, see Handling uniqueness with Lambda SnapStart.
SnapStart supports:
β Java 11 runtime
SnapStart does not support:
β provisioned concurrency
β arm64
β Lambda Extensions
β EFS
β
> 512 MB ephemeral storageβΉοΈ You can't use SnapStart on a function's unpublished version (
$LATEST).SnapStart vs Provisioned Concurrency
π Use Provisioned Concurrency if your application has strict cold start latency requirements.
π SnapStart helps you improve startup performance by up to 10x at no extra cost.
β You can't use both SnapStart and Provisioned Concurrency on the same function version.
#Lambda
Amazon
New β Accelerate Your Lambda Functions with Lambda SnapStart | Amazon Web Services
Update (December 7, 2022) β Added additional information about pricing. Our customers tell me that they love AWS Lambda for many reasons. On the development side they appreciate the simple programming model and ease with which their functions can make useβ¦
π₯6π1