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
asked a month ago107 views
1 Answer
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
answered a month ago
profile picture
EXPERT
reviewed a month ago
  • 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 ;)

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions