4 ms·
The economics don't work out if they keep them all hot all the time.
by dasil003 9y ago
The economics don't work out if they keep them all hot all the time.
- hliyan 9y agoWoot can't they give a simple Boolean seeing for a slightly higher price: "always up"?
- hliyan 9y ago*why can't they My mobile client's edit doesn't work
- bluepeter 9y agoIt's probably not as easy as that. Lambda functions run in a container. If you have a spike in traffic, you may have 10 different containers handling requests. So should they keep 1 container always up, or 3, or 10. I suppose you could have some ELB-type rules to "auto-scale" new containers...
- bluepeter 9y agoThey do for me. It's basically free to fire a function every 5 minutes, have the function immediately close, and have that Lambda container sit around for another ~10 minutes "hot" and waiting for a real request to handle.
- chrisan 9y agoAren't these cloudwatch/cron events basically doing exactly that? People are keeping their functions hot and not using resources but AWS is having to keep those containers up 100% of the time
- dasil003 9y agoYes, but by making it something you have to laboriously set up rather than a default 95% of people won't do it, and you can afford to let 5% do this hack without jacking up low-end prices.