SlideShare a Scribd company logo
Retries
?
Serverless on AWS
lessons learned #5
Are you really
production-ready?
AWS Services calls
are made over a
network via REST-
APIs.
Conveniently wrapped
by the AWS SDK.
A lot of components
in a network can* fail!
*will at some point
● DNS errors
● faulty switches
● load balancer
and more...
A common approach
in distributed systems
is implementing retry
mechanisms.
And so did AWS!
Where is the
problem?
Errors will occur!
Retries will be made!
Events will be processed
twice!
Unexpected behavior!
Retries are awesome,
if you are well aware of
how, when and where
they can happen.
Make sure you are
aware of retries and
understand the
behavior of your
used services and
SDKs!
more information and links in the
description
Examples
AWS SDK service calls
5XX & throttling
SQS
lambda
subscription
Lambda
async invocation
Retries
thumbs up, comment, share
What are your thoughts?
Is anything important missing?
If you liked it, please leave a comment.
connect with me!

More Related Content

Serverless lessons learned #5 retries