18. The danger is that it's very easy to make
nicely decoupled systems with event
notification, without realizing that you're
losing sight of that larger-scale flow, and
thus set yourself up for trouble in future
years.
https://martinfowler.com/articles/201701-event-driven.html
19. The danger is that it's very easy to make
nicely decoupled systems with event
notification, without realizing that you're
losing sight of that larger-scale flow, and
thus set yourself up for trouble in future
years.
https://martinfowler.com/articles/201701-event-driven.html
20. The danger is that it's very easy to make
nicely decoupled systems with event
notification, without realizing that you're
losing sight of that larger-scale flow, and
thus set yourself up for trouble in future
years.
https://martinfowler.com/articles/201701-event-driven.html
21. Finding the right balance
31
Observe Microservice Paradigms
â Loose Coupling
â Autonomy
â Event Collaboration
Ensure Flow Manageability
âą End-To-End Visibility
âą Meet Business Process SLA
âą Support Continuous Process
Improvement
30. Order
It is about where to decide about the coupling!
Checkout
Payment
Inventory
Shipment
Order
placed
Retrieve
payment
Order decides
. to listen to the event
. to issue the command
34. Workflow Engine
Typical ways of communication
Checkout
Payment
Order
Shipment Checkout
Payment
Order
Shipment
Checkout
PaymentOrder
Shipment
Message/Event Bus REST-ish
35. Workflow Engine
Typical ways of communication
Checkout
Payment
Order
Shipment Checkout
Payment
Order
Shipment
Checkout
PaymentOrder
Shipment
Message/Event Bus REST-ish
Pub/SubOwnership
39. Recap
âą Microservices have its merits
âą You need to balance orchestration and chorography
âą Track, monitor or manage the flow â depending on your scenario
âą Distributed systems need stateful orchestration
âą Visibility is essential to survive
âą Workflow automation is an essential building block,
make sure to use BPMN