Recommended Lambda function size

0

What is the best recommended memory size of the lambda function if we have to respond to 50,000 users at the same time ?
In my case, right now lambda function uses maximum of 80 to 100MB of memory for single request.

Edited by: awsIsg on Feb 26, 2019 5:09 AM

awsIsg
已提问 5 年前543 查看次数
2 回答
0
已接受的回答

The concurrency of the function is not related to the memory size of the function. The Lambda infrastructure will create multiple instances of your function to handle multiple requests, and each instance will have a seperate block of memory of the configured size.

If you're aiming for 50,000 though, you will have other problems, the first of which being the default concurrency limit in lambda being 1000 (https://docs.aws.amazon.com/lambda/latest/dg/limits.html).

Ellison
已回答 5 年前
0

Thanks Ellison, it's really useful.

awsIsg
已回答 5 年前

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

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

回答问题的准则