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
demandé il y a 2 mois116 vues
1 réponse
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
EXPERT
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
  • 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 ;)

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions