17.7. Summary
We defined composite abstract operations and looked at some examples. In some cases, concurrent execution of the component operations of high-level operations is desirable and in others it cannot be avoided. This can lead to problems. In Part III we will study these problems and possible solutions to them.
The general problem that can arise as a result of the uncontrolled concurrent execution of component operations is that the system state can become incorrect. A related problem is that output may be incorrect (Section 17.5.2), even if the persistent state subsequently becomes consistent. A naive attempt to avoid these problems through locking all required resources for exclusive use can lead to bad system performance; locking ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access