Serverless Developer Guide
Transitioning to event-driven architecture
Event-driven architecture (EDA) is the ﬁrst step on the serverless learning path. Understanding how 
services interact through events is essential to successful serverless development.
In this chapter, you will dive into the transition from traditional to event-driven architecture.
Let's start by thinking about event-driven components of a food delivery service.
You'll need a data store for menus, locations, orders, status. Customers will send network requests 
to a web API. Your application then needs a compute resource to process customer orders.
You can handle long-running tasks asynchronously. For example you can implement a queue 
using Amazon SQS to manage order submission on. You can then use Step Functions to manage a 
workﬂow that updates user information, and inventory counts after every order is processed. Along 
the way, you will need to log actions, monitor app activity, and trace data ﬂows to debug.
22