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
feita há 2 meses116 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 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 ;)

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas