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
preguntada hace 5 años543 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
respondido hace 5 años
0

Thanks Ellison, it's really useful.

awsIsg
respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas