Interview practice question
Travel booking saga
System Design · Messaging and Queues · Intermediate
Booking a trip requires reserving a flight, a hotel and a car from three different services. How do you handle partial failures?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Saga with steps and compensations.
- Orchestrator tracks progress.
- Cancel flight/hotel if car fails.
- Idempotent steps and compensations.
- Pending state visible to user.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.