Coordination and Agreement Flashcards

1
Q

Why are most failure detectors unreliable?

A
  • Return suspected /unsuspected given the identity of a process
  • The response from a local failure detector is only as good as the information available at that process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is distributed mutual exclusion required

A

Mutual exclusion is required to prevent interference and ensure consistency when accessing shared resources

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

How does distributed mutual exclusion differ from the

critical section problem in the OS domain?

A

Neither shared variables nor single-kernel facilities are available.

Distributed mutual exclusion is solely based on message passing.

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

State the problem of using a server for distributed mutual exclusion.

A

susceptible to single point of failure

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

What is the essential requirement ME1 for mutual exclusion?

A

ME1: (safety)

At most one process may execute in the critical section (CS) at a time

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

What is the essential requirement ME2 for mutual exclusion?

A

ME2: (liveness)

Requests to enter and exit the critical section eventually succeed

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

What is the essential requirement ME3 for mutual exclusion?

A

ME3: (→ ordering)

If one request to enter the CS happened-before another, then entry to the CS is granted in that order

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

What is the implication of ME2?

A

ME2 implies freedom from both deadlock and starvation. Absence of starvation is one fairness condition

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

As a stronger fairness condition why does ME3 require logical clocks?

A

If all requests related by happened-before, then it is not possible for a process to enter the CS more than once while another process waits to enter

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