paint-brush
Write recursive AWS Lambda functions the right wayby@theburningmonk
9,399 reads
9,399 reads

Write recursive AWS Lambda functions the right way

by Yan Cui3mJuly 27th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

AWS Lambda <a href="http://docs.aws.amazon.com/lambda/latest/dg/limits.html" target="_blank">limits</a> the maximum execution time of a single invocation to <strong>5 minutes</strong>. Whilst this limit might be raised in the future, it’s likely that you’ll still have to consider timeouts for any long-running tasks. For this reason, I personally think it’s a good thing that the current limit is too low for many long running tasks — it forces you to consider edge cases early and avoid the trap of thinking “it <em>should</em> be long enough to do X” without considering possible failure modes.

Company Mentioned

Mention Thumbnail
featured image - Write recursive AWS Lambda functions the right way
Yan Cui HackerNoon profile picture
Yan Cui

Yan Cui

@theburningmonk

AWS Serverless Hero. Independent Consultant. Developer Advocate at Lumigo.

Learn More
LEARN MORE ABOUT @THEBURNINGMONK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Yan Cui HackerNoon profile picture
Yan Cui@theburningmonk
AWS Serverless Hero. Independent Consultant. Developer Advocate at Lumigo.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Devops
Theburningmonk
Sanderknape
Bitcoininsider
Ehack
Pkgstats
Ehack
Npmjs