advancedSaga Pattern Deep Dive

What is the difference between Saga and Two-Phase Commit (2PC)? Why is Saga preferred in microservices?

Tests whether you know 2PC's blocking, coordinator-dependent model doesn't fit the availability goals of microservices.

This is a Pro question

Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.

What is the difference between Saga and Two-Phase Commit (2PC)? Why is Saga preferred in microservices?

Next Step

Continue to What is consistent hashing? How does it minimize resharding?← Back to all System Design (HLD) questions