This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 2f6HjrWfdEsAEHzJ2gGbm1IhjeLsDHGa7WAabRi2evs
Cover

Simple Steps to Avoid the Retry Behavior from AWS Lambda

Written by @byrro | Published on 2019/7/25

TL;DR
When a Lambda function invocation crashes due to an uncaught application error, for example, AWS may automatically retry the same request. This auto-retry happens when the function is invoked: Asynchronously by any type of requester by an event source mapping, such as data streams from DynamoDB or Kinesis. In some cases, it’s just pointless to retry if the first request failed, it has zero chance of succeeding in subsequent attempts. Retrying could also lead to unwanted side-effects if our code is not idempotent.

[story continues]


Written by
@byrro
Python Developer, Serverless enthusiast and Developer Advocate

Topics and
tags
aws-lambda|serverless|retry-behavior|error-handling|hackernoon-top-story|latest-tech-stories|retry-behavior-aws-lambda|aws
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 2f6HjrWfdEsAEHzJ2gGbm1IhjeLsDHGa7WAabRi2evs