Video: The 4 meanings of event-driven architecture - Martin Fowler

April 5th, 2019

The many meanings of event-driven architecture - Martin Fowler

https://www.youtube.com/watch?v=STKCRSUsyP0

 

[ ] Article: What do you mean by “Event-Driven”?

 

4 patterns under the name of 'Event Driven'

 

 

1) Event Notification

no description for image available

+ reverse coupling

+ first class

+ flexibility of adding

- no overview in code

 

events vs commands

command: response, I want this to happen

 

 

2) Event-carried State Transfer

no description for image available

+ decoupling

+ availability

no more calls

no dependency

less calls

reduce load

- send all needed data

- copying of data

- eventual consistency

 

 

3) Event Sourcing

cf git

cf accounting

events + snapshots

no description for image available

alternative state: tweak event on branch, diff state, apply diff

memory image: in memory state, no db

asynchrony is not required

 

 

4) CQRS

 

 

 

Article which inspired this talk

https://martinfowler.com/articles/201701-event-driven.html

What do you mean by “Event-Driven”?