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
질문됨 2달 전116회 조회
1개 답변
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
전문가
답변함 2달 전
profile picture
전문가
검토됨 2달 전
  • 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 ;)

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠