Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

176
Visualizações
Is there a limit to the number of times a node lambda can call for a file’s contents using the AWSJavaScriptSDK/v3 GetObjectCommand?

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-s3/classes/getobjectcommand.html

I have a node lambda that parses an s3 folder for json files, reads the files, and then injects that json into a dynamo table. It maxes out at 50 files and I’m trying to understand why. I’ve changed the lambda timeout and memory to no effect. I’ve also commented out the dynamo put command so I know that’s not the culprit. It always seems to stop on the 51st file when trying to read its contents from s3.

Any ideas why?

Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I was able to solve this problem by having one lambda parse the s3 folder for files and then have a second lambda act on each file. The key difference being that a lambda invocation only reads a single s3 file and writes a single record to the database.

I still do not understand why the first design was limited at 50 file reads, but this new design is better in multiple ways.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda