Ran Ribenzaft

AWS Serverless hero, Co-Founder and CTO at Epsagon - distributed tracing for modern cloud applications

Twitter

I’m a passionate developer, with vast experience in network, infrastructure, and cyber-security. Constantly chasing new technologies - as the current one is Serverless. Love sharing open-source tools to make everyone’s lives easier :)

Title
Error Handling in Stateless Environments
Abstract

Retry mechanisms are common nowadays in microservices, and particularly in cloud applications. They are an easy choice when it comes to software architectures with many services. Since every service is independent, and you don’t know what is going on inside, retries are a “best effort” approach which can help to recover from errors. Serverless applications present a “nano services” world. Since every service is very small, the amount of services goes up, and retries are chosen more than ever as the “right solution” for handling errors. But is it really the case? In a stateless world, retries can potentially cause unwanted behaviors and unexpected flows in the application, and they need to be dealt with a lot of thought.