Back to index
On Optimistic Methods for Concurrency Control
H.T. Kung and John T. Robinson
Summary authors: Steve Gribble and Armando Fox
One-line summary:
Instead of using locks, optimistically do transaction then check at end if
can commit results, and retry if not.
Overview/Main Points
Relevance
Like restartable atomic sequences in OS world - non-blocking
synchronization is a good thing, as long as conflicts are rare.
Flaws
- I don't believe conflicts are as rare as they suggest. There is
distinct non-randomness in realistic access patterns; these
correlated accesses have much higher probability of conflicting.
- possible to have starvation as opposed to deadlock with
degenerate access patterns and optimistic access control. This
is never mentioned.
Back to index