News for hackers. Stuff that matters.
Re:The Complete AWS Lambda Handbook for Beginners by artembugara on Wednesday October 07, 2020 @11:11AM (#24709061)
The most impressive thing (for us) that you could do with AWS Lambda is easily scale your functions without being worried about scaling.

For example, we [1] have an API that runs Lambda functions to extract the structured content out of the news article. At some point, we have very few new articles being discovered by our system (night time in the US, for example). Other time, there are ~100 new articles every second. And, we do not have to worry about our infrastructure: 100 Lambdas will be executed concurrently, and we'll pay for just 100 Lambdas like if they were one after one.

Also, for many startups/side-projects when you don't know what would be your workload in advance, Lambda can save you money. And, if you somehow have a huge workload your solution won't be crashing.

[1] https://newscatcherapi.com/

Re:The Complete AWS Lambda Handbook for Beginners by davidgf on Wednesday October 07, 2020 @12:33PM (#24709908)
Lambda scales well... until it does not. If your traffic pattern is very spiky and unpredictable, the burst limit can be a real pain in the neck. It ranges between 500 and 3.000 Lambda instances, depending on the region, and when that threshold is reached it can only spin up 500 more each minute. This is sufficient in most cases, indeed, but it's important to be aware of the implications of this limitation before believing that you can throw anything at Lambda and it'll just scale up to accommodate any workload.
Re:The Complete AWS Lambda Handbook for Beginners by munns on Wednesday October 07, 2020 @01:57PM (#24710842)
This is however a soft-limit per region
Re:The Complete AWS Lambda Handbook for Beginners by davidgf on Thursday October 08, 2020 @05:18AM (#24717362)
I'm not too sure about that... Just to clarify, I'm referring to the burst limit, not the concurrency one.
Re:The Complete AWS Lambda Handbook for Beginners by maerF0x0 on Wednesday October 07, 2020 @12:02PM (#24709532)
> without being worried about scaling

So long as your RPS is low enough and you fit into the fairly tight APIGw+ Lambda edge cases box.

https://docs.aws.amazon.com/apigateway/latest/developerguide...

Re:The Complete AWS Lambda Handbook for Beginners by ysw0 on Wednesday October 07, 2020 @12:12PM (#24709654)
You can route ALB to Lambda now without APIG. Much cheaper too as you're no longer paying per request.
Re:The Complete AWS Lambda Handbook for Beginners by maerF0x0 on Sunday October 11, 2020 @07:49PM (#24750121)
But even tighter box for request size (~1MB iirc)