Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That'll also cost you $$$$ and takes any provisioned lambda out of the free tier. Also note that only your specified number of instances will stay warm, meaning if your lambda needs to scale up, you risk slow cold starts on additional instances outside of the number you provisioned. You could specify the number of reserved concurrent images (limiting the number that run) but that also costs money and will eat int your quota.

Using containers for lambda is generally a bad idea for anything TypeScript/JavaScript that handles a realtime request - you just can't beat the speed of a single JavaScript file (compiled, in the case of TS). AWS CDK now ships with the NodeJSFunction as well, which makes generating those a breeze with ESBuild.



It cost me like $3 a month to get benefit from it. For what it's worth I don't use it for synchronous web requests.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: