August 2026
Intermediate
590 pages
13h 35m
English
In Chapter 8, we moved ShopFlow's checkout from a synchronous blocking chain to a temporally decoupled event-driven architecture. Checkout p99 dropped from 2.1 seconds to 285 ms. The double-charge incidents were eliminated.
But Dave is looking at the Inventory service read metrics with a different kind of concern.
Before the async migration, the Inventory service received one read request per checkout. Now, five downstream event consumers each trigger their own read: the fraud service checks available stock, the shipping service reads product weight, the analytics service reads catalog data, the notification service reads the order summary, and the loyalty service reads the product category.
Read now
Unlock full access