Why you should move to an Event-Driven Architecture

Learn how to decouple services and reduce complexity

But eventually, you’ll be left with bad software.

What is Event-Driven Architecture?

Changing from Request Driven to Event-Driven

Image for post
Image for post
Simple Request Driven Architecture Diagram

The way we think is often Event Driven by default. We just don’t realise it.

Image for post
Image for post
Event-Driven Architecture Diagram

In fact, they don’t even need to know that the other exists at all.

Benefits of Event vs Request Driven

1. Decoupling Services

2. One Event, Multiple Listeners

Image for post
Image for post
Event-Driven with multiple services

Technology Example

Apache Kafka

Image for post
Image for post
Broken services mean request-driven breaks down
Image for post
Image for post
Broken services using Kafka can pick up where they left off

Written by

Data and Productivity Writer — Data Architect at easyfundraising.org.uk

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store