AWS Lambda Trade-offs

Discussions center on the performance issues like cold starts, scalability advantages for bursts, costs, execution limits, and comparisons of AWS Lambda to persistent servers, ECS, or Fargate for various workloads.

📉 Falling 0.2x DevOps & Infrastructure
3,934
Comments
16
Years Active
5
Top Authors
#1016
Topic ID

Activity Over Time

2010
1
2011
2
2012
3
2014
10
2015
117
2016
269
2017
338
2018
562
2019
438
2020
483
2021
411
2022
465
2023
381
2024
259
2025
191
2026
4

Keywords

RAM JAWS CPU S3 hackernoon.com SQS CI AWS ImageMagick environments.html lambda aws lambda lambdas aws cold serverless requests function warm concurrent

Sample Comments

Charles_t Jul 11, 2019 View on HN

This is not going to scale. Lambdas are hella slow. The cold starts will kill you.

nijave Jun 22, 2024 View on HN

Lambda scales faster if you really do need that. For instance, imagine bursts of 100k requests. Cold start on Lambda is going to be lower than you can autoscale something else.

metaltyphoon Apr 20, 2024 View on HN

Not really if you are using FaaS (lambdas)

snypox Dec 2, 2020 View on HN

As far as I know, if you run for more than a few seconds Lambda’s cost will _really_ not worth it. One should prefer ECS or Batch.

smt88 Oct 30, 2015 View on HN

Have you noticed any downsides to using Lambda over running a persistent Node server? Is there overhead in execution time, for example?

fernandopj Jun 19, 2024 View on HN

You have to consider that AWS Lambda does have "cold start" - if your code wasn't run for about 10 minutes it isn't "hot" anymore and will have a penalty time cost to its first next request. This is not billable but it is a latency, explained here [1][1] https://docs.aws.amazon.com/lambda/latest/operat

abrookewood Feb 9, 2017 View on HN

That totally depends on what you are doing. We use Lambda to generate thumbnails of documents that are uploaded to one of our applications. I can throw 600-800 pages at it and because it calls a Lambda function per page, the whole thing finishes in less than 10 seconds. No need to scale instances and no need to worry about running out of RAM on our servers. The cold start also gets less after the initial run.

colinramsay Feb 9, 2017 View on HN

Doesn't lambda have hundreds of thousands of requests for free? Also, the convenience of lambda counts for a lot: no set up or maintenance.

vdfs Nov 27, 2018 View on HN

Isn't using a server better in this case? Or Lambda have some benefits in this setup?

revskill Apr 9, 2019 View on HN

Is lambda size related to cold start time ?