System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Saga

1. The Incident

Checkout now spans inventory, payment, and shipping services. The application reserves items, charges the card through an external provider, and creates a shipment through three sequential calls. Most orders succeed.

A faulty shipping deployment then makes that service unavailable for twenty busy minutes. Inventory reservations and card charges succeed before the third call fails. The catch block records an error but performs no recovery.

The incident leaves 340 orders partially complete: customers are charged, inventory remains reserved, and nothing ships

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content