How to optimise the cost of Lambda ?

0

How to optimise the cost of lambda. we are getting data from AMS through lamdba. currently we created 3 lambda functions from each dataset like one function for sp_traffic , one fucntion for sp_conversion and one for budget_usage.And each function is have 128 mb of memory. How can we reduce the cost of the lambda.

已提问 1 年前257 查看次数
2 回答
1

Consider using a Compute Savings Plan.
https://aws.amazon.com/savingsplans/compute-pricing/?nc1=h_ls

"AWS Compute Optimizer" can be used to optimize Lambda performance.
If you are over-performing, you can reduce costs by checking here and setting the appropriate performance.
https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-lambda-recommendations.html

profile picture
专家
已回答 1 年前
0

In some situations 128MB maybe is not the cheapest configuration.

Please try https://github.com/alexcasalboni/aws-lambda-power-tuning

To find the best configuration for your lambda.

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则