Foundational Distributed System Concepts -- Concurrency Models Flashcards

Concurrency Models used in distributed systems (6 cards)

1
Q

What are the challenges associated with Distributed Transactions?

A

Complex coordination and potential failure handling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a common solution mentioned for Distributed Transactions?

A

2PC (Two-Phase Commit)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What alternative to 2PC is suggested for more complex scenarios?

A

Sagas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the significance of Idempotency in distributed systems?

A

Crucial for retry mechanisms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: 2PC is often mentioned, but focus on _______ for more complex scenarios.

A

Sagas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: Idempotency is not important in retry mechanisms.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly