by jopsen · 5y ago · 0 comments
Slow to boot, and subject to denial-of-wallet attacks.
I do love vercel for static sites, and also think my blog with a minimal backend for comments is a good fit.
But less sure how it'll hold up to even a single heroku dyno, which can do a lot of concurrent request at very low cost.
Lambdas are not slow to boot because of the methods used to tune how hot they stay; in a production application doing millions of invocations a day we saw 0.03 % of all invocations suffering a cold start that added an additional 100ms latency only. And if you absolutly have to have warm Lambdas always for even that 0.03% you can use provisioned concurrency that always keeps a certain number of Lambda functions warm.
[1]: https://www.serverless.com/blog/firecracker-what-means-serve...