Explain it in 60 seconds
The saga pattern
Backend Engineering · Microservices · Intermediate
What is the saga pattern, and why is it used in microservices?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Business transaction as sequence of local transactions.
- Each step publishes event/next command.
- Failure triggers compensating actions.
- Replaces distributed transactions (2PC).
- Eventual consistency; design compensations carefully.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.