• Home
  • Search
  • Quantitative relaxation of concurrent data structures
  • Cite Icon32
  • https://doi.org/10.1145/2480359.2429109Copy DOI Icon

Quantitative relaxation of concurrent data structures

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

There is a trade-off between performance and correctness in implementing concurrent data structures. Better performance may be achieved at the expense of relaxing correctness, by redefining the semantics of data structures. We address such a redefinition of data structure semantics and present a systematic and formal framework for obtaining new data structures by quantitatively relaxing existing ones. We view a data structure as a sequential specification S containing all "legal" sequences over an alphabet of method calls. Relaxing the data structure corresponds to defining a distance from any sequence over the alphabet to the sequential specification: the k-relaxed sequential specification contains all sequences over the alphabet within distance k from the original specification. In contrast to other existing work, our relaxations are semantic (distance in terms of data structure states). As an instantiation of our framework, we present two simple yet generic relaxation schemes, called out-of-order and stuttering relaxation, along with several ways of computing distances. We show that the out-of-order relaxation, when further instantiated to stacks, queues, and priority queues, amounts to tolerating bounded out-of-order behavior, which cannot be captured by a purely syntactic relaxation (distance in terms of sequence manipulation, e.g. edit distance). We give concurrent implementations of relaxed data structures and demonstrate that bounded relaxations provide the means for trading correctness for performance in a controlled way. The relaxations are monotonic which further highlights the trade-off: increasing k increases the number of permitted sequences, which as we demonstrate can lead to better performance. Finally, since a relaxed stack or queue also implements a pool, we actually have new concurrent pool implementations that outperform the state-of-the-art ones.

Similar Papers
  • Conference Article
  • Citations16

A Consistency Framework for Iteration Operations in Concurrent Data Structures

  • May 01, 2015
  • Yiannis Nikolakopoulos +3
  • Conference Article
  • Citations30

Provably good scheduling for parallel programs that use data structures through implicit batching

  • Jun 21, 2014
  • Kunal Agrawal +5
  • Research Article

Scaling Linearizable Range Queries on Modern Multi-Cores

  • Sep 11, 2025
  • Computers
  • C J Zhang +2
  • Book Chapter
  • Citations124

Comparison Under Abstraction for Verifying Linearizability

  • Jul 03, 2007
  • Daphna Amit +4
  • Conference Article
  • Citations70

The hyperring: a low-congestion deterministic data structure for distributed environments

  • Jan 11, 2004
  • Baruch Awerbuch +1
  • Book Chapter
  • Citations6

Lock‐Free Concurrent Data Structures

  • Jan 24, 2017
  • Daniel Cederman +5
  • Conference Article
  • Citations12

Lower bounds for oblivious data structures

  • Jan 06, 2019
  • Riko Jacob +2
  • Conference Article
  • Citations50

Designing Far Memory Data Structures

  • May 13, 2019
  • Marcos K Aguilera +3
  • Research Article
  • Citations4

Contention-sensitive data structures and algorithms

  • Mar 25, 2017
  • Theoretical Computer Science
  • Gadi Taubenfeld
  • Book Chapter
  • Citations3

Design and Implementation of an Efficient Priority Queue Data Structure

  • Jan 01, 2022
  • James Rhodes +1
  • Research Article
  • Citations3

Optimistic concurrency with OPTIK

  • Feb 27, 2016
  • ACM SIGPLAN Notices
  • Rachid Guerraoui +1
  • Conference Article
  • Citations52

Reducing contention through priority updates

  • Jul 23, 2013
  • Julian Shun +3
  • Conference Article
  • Citations23

Optimistic concurrency with OPTIK

  • Feb 27, 2016
  • Rachid Guerraoui +1
  • Conference Article
  • Citations17

Reducing contention through priority updates

  • Feb 23, 2013
  • Julian Shun +3
  • Book Chapter
  • Citations5

Towards Automatic Lock Removal for Scalable Synchronization

  • Jan 01, 2015
  • Maya Arbel +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.