Relaxed Data Types as Consistency Conditions †
Open Access
- 4 May 2018
- journal article
- research article
- Published by MDPI AG in Algorithms
- Vol. 11 (5) , 61
Abstract
In the quest for higher-performance shared data structures, weakening consistency conditions and relaxing the sequential specifications of data types are two of the primary tools available in the literature today. In this paper, we show that these two approaches are in many cases different ways to specify the same sets of allowed concurrent behaviors of a given shared data object. This equivalence allows us to use whichever description is clearer, simpler, or easier to achieve equivalent guarantees. Specifically, for three common data type relaxations, we define consistency conditions such that the combination of the new consistency condition and an unrelaxed type allows the same behaviors as Linearizability and the relaxed version of the data type. Conversely, for the consistency condition k-Atomicity, we define a new data type relaxation such that the behaviors allowed by the relaxed version of a data type, combined with Linearizability, are the same as those allowed by k-Atomicity and the original type. As an example of the possibilities opened by our new equivalence, we use standard techniques from the literature on consistency conditions to prove that the three data type relaxations we consider are not comparable to one another or to several similar known conditions. Finally, we show a particular class of data types where one of our newly-defined consistency conditions is comparable to, and stronger than, one of the known consistency conditions we consider.Keywords
Funding Information
- National Stroke Foundation (1526725)
This publication has 11 references indexed in Scilit:
- Consistency in Non-Transactional Distributed Storage SystemsACM Computing Surveys, 2016
- The computability of relaxed data structures: queues and stacks as examplesDistributed Computing, 2016
- Improved Time Bounds for Linearizable Implementations of Abstract Data Types2014
- Multiwriter Consistency Conditions for Shared Memory RegistersSIAM Journal on Computing, 2011
- On the Availability of Non-strict Quorum Systems2005
- On the composability of consistency conditionsInformation Processing Letters, 2003
- A Correctness Condition for High-Performance MultiprocessorsSIAM Journal on Computing, 1998
- Sequential consistency versus linearizabilityACM Transactions on Computer Systems, 1994
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990
- On interprocess communicationDistributed Computing, 1986