Optimistic Lock Coupling Flashcards

(3 cards)

1
Q

OLC Read

A
  1. Read lock version (restart if not free)
  2. Access node
  3. Read the version again and validate that it has not changed in the meantime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

OLC Write

A
  1. Acquire lock (wait if necessary)
  2. Access/write to node
  3. Increment version and unlock node
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly