Hacker News new | ask | show | jobs
by hbcondo714 51 days ago
> a burst of incoming traffic can share warm environments instead of mapping each request to a new one

But cold starts could still occur, especially in a low-traffic environment where requests come in seldomly?

2 comments

Presumably it can be combined with SnapStart

There was also this a week ago, maybe you can combine this with containers? https://aws.amazon.com/blogs/compute/get-started-with-aws-la...

SnapStart doesn't support Node.js (unfortunately?), only Java, Python, .NET
https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runti... has instructions for SnapStart with Node. But yes it's more hoops.
Yes.

> Lambda scales down to zero environments when there is no traffic. The next request after that starts a new environment (a cold start).

https://docs.aws.amazon.com/lambda/latest/dg/web-functions-s...

Reads like absolute tail, after idle period will see a coldstart but due to multi-concurrency the subsequent requests as a burst will be amortized and automatic/proactive scale-up should avoid further coldstarts.