|
ABSTRACT
In many distributed systems concurrent access is required to a shared object, where abstract object servers may incorporate type-specific properties to define consistency requirements. Each operation and its outcome is treated as an event, and conflicts may occur between different event types. Hence concurrency control and synchronization are required at the granularity of conflicting event types. With such a fine granularity of locking, the occurrence of conflicts is likely to be lower than with whole-object locking, so optimistic techniques become more attractive.
This work describes the design, implementation, and performance of servers for a shared atomic object, a semiqueue, where each server employs either pessimistic or optimistic locking techniques on each conflicting event type. We compare the performance of a purely optimistic server, a purely pessimistic server, and a hybrid server which treats certain event types optimistically and others pessimistically, to demonstrate the most appropriate environment for using pessimistic, optimistic, or hybrid control. We show that the advantages of low overhead on optimistic locking at low conflict levels is offset at higher conflict levels by the wasted work done by aborted transactions.
To achieve optimum performance over the whole range of conflict levels, an adaptable server is required, whereby the treatment of conflicting event types can be changed dynamically between optimistic and pessimistic, according to various criteria depending on the expected frequency of conflict.
We describe our implementations of adaptable servers which may allocate concurrency control strategy on the basis of state information, the history of conflicts encountered, or by using preset transaction priorities.
We show that the adaptable servers perform almost as well as the best of the purely optimistic, pessimistic, or hybrid servers under the whole range of conflict levels, showing the versatility and efficiency of the dynamic servers.
Finally we outline a general design methodology for implementing adaptable concurrency control in servers for atomic objects, illustrated using an atomic shared B-tree.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Gregory R. Andrews , Michael Coffin , Irving Elshoff , Kelvin Nilson , Gregg Townsend , Ronald A. Olsson , Titus Purdin, An overview of the SR language and implementation, ACM Transactions on Programming Languages and Systems (TOPLAS), v.10 n.1, p.51-86, Jan. 1988
[doi> 10.1145/42192.42324]
|
 |
2
|
|
 |
3
|
|
| |
4
|
BHARGAVA, B., RIEDL, J., AND WEBER, D. An expert system to control an adaptable distributed database system. Tech. Report CSD-TR-693, Purdue Univ., May 1987.
|
| |
5
|
|
| |
6
|
|
 |
7
|
|
 |
8
|
|
 |
9
|
|
| |
10
|
COAD~, Y. An investigation of type-specific optimistic, pessimistic, and hybrid concurrency control M.Sc. thesis~ School of Computing Science, Simon Fraser Univ., Dec. 1988.
|
| |
11
|
CORDON, R., AND GARCIA-MOLINA~ H. The performance of a concurrency control mechanism that exploits semantic knowledge, in Proceedings of the Fifth International Conference on Distributed Computing Science (1985), pp. 350-358.
|
 |
12
|
|
 |
13
|
|
| |
14
|
GAWLICK, D. Processing "Hot spots" in high performance systems, in Proceedings IEEE COMPCON Conference (Feb. 1985), pp. 249-251.
|
| |
15
|
|
 |
16
|
|
 |
17
|
|
 |
18
|
|
 |
19
|
|
 |
20
|
|
 |
21
|
|
| |
22
|
|
 |
23
|
|
| |
24
|
|
| |
25
|
|
| |
26
|
|
| |
27
|
|
 |
28
|
|
| |
29
|
SHETH, A., AND LIu M. Integrating locking and optimistic concurrency control in distributed database systems, in Proceedings of the 6th International Conference on Distributed Computing Systems (May 1986), pp. 89 99.
|
| |
30
|
SPECTOR, A.Z. Distributed transactions for reliable systems. In Proceedings of the Prtnciples of Distributed Computing Conference (1985).
|
| |
31
|
SPECTOR, A. Z. Distributed processing and the camelot system. Carnegie-Melon Univ., TR-87-100, Jan. 1987.
|
 |
32
|
|
| |
33
|
|
 |
34
|
|
 |
35
|
|
REVIEW
"M. A. Bassiouni : Reviewer"
The implementation and performance evaluation of three concurrency
control (CC) servers used to access a shared object type, called the
semiqueue, within distributed systems are described. The first server
uses a purely optimistic policy, whic
more...
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
|