The many meanings of event-driven architecture - Martin Fowler https://www.youtube.com/watch?v=STKCRSUsyP0
4 patterns under the name of ‘Event Driven’
- Event Notification
+ reverse coupling
+ first class
+ flexibility of adding
- no overview in code
events vs commands command: response, I want this to happen
-
Event-carried State Transfer
+ decoupling
+ availability
no more calls
no dependency
less calls
reduce load
- send all needed data
- copying of data
- eventual consistency -
Event Sourcing cf git cf accounting events + snapshots
alternative state: tweak event on branch, diff state, apply diff
memory image: in memory state, no db
asynchrony is not required -
CQRS
Article which inspired this talk https://martinfowler.com/articles/201701-event-driven.html Article: What do you mean by “Event-Driven”?