Relaxation for Efficient Asynchronous Queues
Authors:
Preprint
Abstract
We explore the problem of efficiently implementing shared data structures in an asynchronous computing environment. We start with a traditional FIFO queue, showing that full replication is possible with a delay of only a single round-trip message between invocation and response of each operation. This is optimal, or near-optimal, runtime for the Dequeue operation. We then consider ways to circumvent this limitation on performance. Though we cannot improve the worst-case time per operation instance, we show that relaxation, weakening the ordering guarantees of the Queue data type, allows most Dequeue instances to return after only local computation, giving a low amortized cost per instance. This performance is tunable, giving a customizable tradeoff between the ordering of data and the speed of accessKeywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Improved time bounds for linearizable implementations of abstract data typesInformation and Computation, 2018
- Anomalies and similarities among consensus numbers of variously-relaxed queuesComputing, 2018
- The computability of relaxed data structures: queues and stacks as examplesDistributed Computing, 2016
- On the performance of distributed lock-based synchronization?ACM SIGOPS Operating Systems Review, 2011
- Linearizable read/write objectsTheoretical Computer Science, 1999
- Sharing memory robustly in message-passing systemsJournal of the ACM, 1995
- Sequential consistency versus linearizabilityACM Transactions on Computer Systems, 1994
- Detecting causal relationships in distributed computations: In search of the holy grailDistributed Computing, 1994
- Logical time in distributed computing systemsComputer, 1991
- Wait-free synchronizationACM Transactions on Programming Languages and Systems, 1991