Pub/Sub and events
Lesson 22 of 40 · Sys.Micro
Announce what happened once; let any number of services react on their own.
When an order is placed, the Orders service calls Email, Inventory and Analytics one by one. Every new team that cares about orders must change Orders’ code. If Analytics is slow, orders are slow.
Point-to-point calls create a web of dependencies
Check yourself
You need every order event processed in order per order ID, at high throughput. What do you do in Kafka?
Do it in the browser: a real system design tool, a short mission and instant feedback. No install.
Start this lesson — free