← LessonsCREATOR PATH Β· 10–12πŸ•

Pizza Saga Kitchen

LESSON 128
🎯 Today's missions
πŸ•πŸͺπŸ›Έ
PIZZA PLANET

Pizza Saga Kitchen

One order crosses four independent space-station services. Coordinate every step, survive an oven failure, and restore the customer's tokens without one giant lock.

🧠 Before we start

Clinic Vector Clocks showed that separate computers hold separate knowledge. Today, a saga coordinates a long job across separate services. If a later step fails, the saga asks earlier services to perform meaningful undo actions called compensations.

➑️ Forward stepsβ†’πŸ’₯ Failure→↩️ Reverse compensationsβ†’πŸ›‘οΈ Safe retry
Challenge 1 of 4Plan the saga
1

Plan the forward journey

Tap the service actions in order. Secure the customer's place and payment before asking the kitchen to spend ingredients and oven time.

ORDER SAGA Β· ONE COORDINATED STEP PER SERVICE
1 Β· PLACE
2 Β· PAYMENT
3 Β· STOCK
4 Β· KITCHEN

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨