Re:We Replaced Firecracker with QEMU
by sheepscreek on Monday July 10, 2023 @11:26AM
(#36667805)
..so is it more to support directly deploying functions to the cloud? Like, what AWS Lambda and CloudFront Functions might be built on?
[ Parent
| on HN ]
Re:We Replaced Firecracker with QEMU
by yjftsjthsd-h on Monday July 10, 2023 @11:36AM
(#36667966)
I'm pretty sure firecracker was literally created to underlie AWS Lambda.
That being said, firecracker also runs long-running tasks on AWS in the form of Fargate
As does the paper [1] with details in section 4.1.
[1]: https://www.usenix.org/system/files/nsdi20-paper-agache.pdf
yes, it was created originally for AWS Lambda
mainly it's optimized to run code only shortly (init time max 10s, max usage is 15min, and default max request time 130s AFIK)
also it's focused on thin server less functions, like e.g. deserialize some request, run some thin simple business logic and then delegate to other lambdas based on it. This kind of functions often have similar memory usage per-call and if a call is an outlier it can just discard the VM instance soon after (i.e. at most after starting up a new instance, i.e. at most 10s later)