Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

174
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!