Intermediate
Web & Software Development
Q59 / 100
What is the saga pattern for distributed transactions?
Correct! Well done.
Incorrect.
The correct answer is B) A pattern managing distributed transactions as a sequence of local transactions with compensating transactions for rollback on failure, avoiding 2PC
B
Correct Answer
A pattern managing distributed transactions as a sequence of local transactions with compensating transactions for rollback on failure, avoiding 2PC
Explanation
Saga: each step is a local DB transaction + event. On failure, compensating transactions undo previous steps. Choreography: services react to events. Orchestration: a central coordinator directs. Used in e-commerce orders.
Progress
59/100