3 ms·
This is not going to scale. Lambdas are hella slow. The cold starts will kill you.
by Charles_t 7y ago
This is not going to scale. Lambdas are hella slow. The cold starts will kill you.
- vorpalhex 7y agoYou can pay to never hit cold starts..
- iends 7y agoNo you can't, you can just try and keep your lambdas warm, but that isn't the same thing.
- jjtheblunt 7y agowouldn't EC2 be an example of paying to never hit cold starts?
- snak 7y agoNo, you can't.
- poxrud 7y agoWith constant traffic cold starts should not be happening. Also lambdas will stick around for 45-60 minutes before going cold.
- kdeorah 7y agoThat's exactly right. Background location tracking leads to constant traffic. Not running into cold starts as an issue.
- brad0 7y agoThe only two places where the cold starts will hurt is the API key auth and the JWT auth/posting to kinesis. Plus if it's being called with any kind of decent frequency it won't matter.
- vageli 7y ago> This is not going to scale. Lambdas are hella slow. The cold starts will kill you. Frameworks like Zappa handle this out of this box by setting up executions to run via cloudwatch event cron.