Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Why would one use sagas over 2PC and vice versa?

Anjali Sharma answered on January 4, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


Why would one use sagas over 2PC and vice versa?

0

It is used wherever strong consistency is important.

 On the other hand, SAGA works sequentially, not as a single commit.

 Each operation gets committed before the subsequent one, and this makes the data eventually consistent. 

Thus, Saga consists of multiple steps whereas 2PC acts like a single request.

https://stackoverflow.com/questions/48906817/2pc-vs-sagas-distributed-transactions

Popularity 1/10 Helpfulness 1/10 Language javascript
Source: Grepper
Tags: javascript
Link to this answer
Share Copy Link
Contributed on Jan 04 2023
Anjali Sharma
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.