Interview practice question
Compensation fails halfway through a saga
Backend Engineering · Microservices · Experienced
In your travel booking saga, the flight was booked, the hotel failed and the compensation to cancel the flight also failed because the airline API is down. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Compensations must be retried durably.
- Persist saga state; retry with backoff.
- Idempotent cancel calls.
- Escalate to manual queue after limit.
- Inform customer honestly; reconcile later.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.