Mid Microservices

Commit Phase:?

  • If all participants vote to commit, the coordinator sends a commit message to

all participants, and the transaction is finalized.

  • If any participant votes to abort, the coordinator sends an abort message to

all participants, rolling back the transaction.

Follow :

Downsides: Two-phase commit can cause performance bottlenecks and is prone to

blocking if the coordinator or any participant fails during the process.

More from Microservices with .NET

All questions for this course