4 ms·
And you can pick any language you'd like as it supports arbitrary containers now too: https://news.ycombinator.com/item?id=25267182 https://news.ycombinator.com
by koolba 6y ago
And you can pick any language you'd like as it supports arbitrary containers now too: https://news.ycombinator.com/item?id=25267182 https://news.ycombinator.com/item?id=25267182
- bdcravens 6y agoFor per ms billing to matter, you probably want to limit your language choices.
- throwaway894345 6y agoWow, I haven’t read yet, but I’m very curious if this affects the size limits on the lambdas. I’ve tried to build lambdas for a small Python use case, but by the time I imported pandas and a few other libraries I exceeded the 250 mb limit and migrated to ECS/Fargate, but the startup times were much longer.
- fitzoh 6y agohttps://twitter.com/chrismunns/status/1333825503464214530 https://twitter.com/chrismunns/status/1333825503464214530 Docker containers can be up to 10gb, traditional lambdas are still limited to 250mb.
- munns 6y agoThats me. We've got some fun things we do behind the scenes to keep Lambda container image support snappy. SO yes, up to 10gb artifacts with container image support.
- thetrooper 6y agoyeah thats the issue. aws will make sure your fast language takes as much time as everything else - how will they make money if everyone makes use of fast languages?
- throwaway894345 6y agoI don’t know how this is related to my comment. In my case we used a slow language (although Python’s poor performance and its large bundle sizes are only indirectly related at best) and we had to spend a lot more by moving to ECS/Fargate. If we were using Go, our bundle sizes would’ve been 30x smaller (I checked) and would’ve fit in a lambda easily. Not only would it have fit easily, it would have made a lot of progress before the Python version even finished importing its dependencies. And in top of all of that, it would have out-performed the Python version by a good order of magnitude. If anything, my anecdote supports the idea that Amazon wants you to use fast languages, especially now that they offer per-ms pricing for lambdas.
- freeqaz 6y agoThis should be at the top of this thread! This is huge and fixes my #1 gripe with Lambda -- that managing dependencies is "non-standard" and you can't use tools like Docker. Plus, the 250MB limit is brutal. This is really, really exciting!
- adwww 6y agoOh that's quite big news if you run an app that has to be deployed cross cloud. We use very little serverless at the moment, because the three clouds we need to deploy to have infuriating differences between their execution and deployment environments. Eg. How they manage dependancies, the runtimes, how you describe and deploy each function. Compared at least to K8 where the containers you build run just fine wherever you put them.
- endgame 6y agoThe thing you put inside the container still has to speak Lambda's API, but yes, pretty cool.