Event-driven systems have a variety of patterns and tradeoffs to choose from.
- Event notification provides little information and expects followup calls.
- Event-carried state transfer reduces latency with heavy payloads.
- Event sourcing derives current state from event logs.
CQRS separates commands and queries, which is not eventing but is often used in conjunction with it.rF1
Different queues support different eventing goals.
-
↩
Martin Fowler, “What Do You Mean by ‘Event-Driven’?,” martinfowler.com, 2017, https://martinfowler.com/articles/201701-event-driven.html. (See notes.)