Blog Logo
TAGS

What is an event-driven architecture and why storing events is important?

In this post, we explore how to create a serverless analytics architecture based off an event-driven architecture using services like Kinesis Data Firehose, EventBridge, Athena, Glue, Lambda and S3. An event-driven architecture relies on events to trigger communication between decoupled services. Event producers send events to routers, which filters them and then passes them on to consumers. The producer and consumer services are decoupled, allowing them to scale, update, and deploy independently. Storing and analyzing events is essential for obtaining insights such as how many products were sold in the last few hours, days, months, or years. AWS EventBridge is a widely used event bus service that emits events from different services and stores them for analysis. The complete code for this serverless analytics architecture is available on GitLab.