Lambda extensions overhead?

0

Is there any known overhead for Lambda extensions?

In particular, I am interested in the secret loading and caching one: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_lambda.html

profile picture
m0ltar
preguntada hace 2 meses116 visualizaciones
1 Respuesta
1

Assuming you have some requirements that demands your lambda to access secrets, the extension approach is much, much better then a direct aws api call to the secrets client.

Moreover the extensions has got environments variables that support caching: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_lambda.html#retrieving-secrets_lambda_env-var

You probably should evaluate lambda with powertools to assess different approaches.

profile picture
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses
  • You probably should evaluate lambda with powertools to assess different approaches.

    I was hoping that AWS would have done this and could have shared the results with us ;)

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