System Design · Senior · Question 59 of 75

Why is two-phase commit rarely used across microservices?

Explanation

If the coordinator fails at the wrong time, participants hold locks until it recovers.

Further reading

Problem with a question

System Design · Senior · question 59

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz