Skip to main navigation Skip to search Skip to main content

Strong Linearizability using Primitives with Consensus Number 2

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

A powerful tool for designing complex concurrent programs is through composition with object implementations from lower-level primitives. Strongly-linearizable implementations allow to preserve hyper-properties, e.g., probabilistic guarantees of randomized programs. However, the only known wait-free strongly-linearizable implementations for many objects rely on compare&swap, a universal primitive that allows any number of processes to solve consensus. This is despite the fact that these objects have wait-free linearizable implementations from read / write primitives, which do not support consensus. This paper investigates a middle-ground, asking whether there are wait-free strongly-linearizable implementations from realistic primitives such as test&set or fetch&add, whose consensus number is 2.We show that many objects with consensus number 1 have wait-free strongly-linearizable implementations from fetch&add. We also show that several objects with consensus number 2 have wait-free or lock-free implementations from other objects with consensus number 2. In contrast, we prove that even when fetch&add, swap and test&set primitives are used, some objects with consensus number 2 do not have lock-free strongly-linearizable implementations. This includes queues and stacks, as well as relaxed variants thereof.

Original languageEnglish
Title of host publicationPODC 2024 - Proceedings of the 2024 ACM Symposium on Principles of Distributed Computing
PublisherAssociation for Computing Machinery
Pages432-442
Number of pages11
ISBN (Electronic)9798400706684
DOIs
Publication statusPublished - 17 Jun 2024
Event43rd ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, PODC 2024 - Nantes, France
Duration: 17 Jun 202421 Jun 2024

Publication series

NameProceedings of the Annual ACM Symposium on Principles of Distributed Computing

Conference

Conference43rd ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, PODC 2024
Country/TerritoryFrance
CityNantes
Period17/06/2421/06/24

Keywords

  • concurrency
  • consensus numbers
  • linearizability
  • lock-freedom
  • shared memory
  • strong linearizability
  • wait-freedom

Fingerprint

Dive into the research topics of 'Strong Linearizability using Primitives with Consensus Number 2'. Together they form a unique fingerprint.

Cite this