Skip to main navigation Skip to search Skip to main content

CausalTester: Measuring the Consistency of Replicated Services via Causality Semantics

  • Yu Tang
  • , Le Zhao
  • , Wei Yuan
  • , Xu Wang*
  • *Corresponding author for this work
  • Beihang University
  • China Aviation Industry Corporation

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Cloud and Big Data systems often replicate data and prefer weak consistency such as eventual consistency for better scalability and availability. Such weak consistency may produce unexpected and harmful system behaviors, for example, stale reads and conflicting writes. In order to measure the consistency levels and help developers understand the harmful degree, we propose a testing framework called CausalTester to evaluate the causality semantics of replicated systems, including 12 real test cases collected from Twitter, Flickr, Amazon, the corresponding benchmark services, and the automatic detection of causality violation with crash injection. We implement the testing framework and measure the consistency of three widely-used distributed databases. The experimental results show that it is effective to detect the consistency violations for the weak consistency and helpful to find consistency-related bugs if the strong consistency is violated.

Original languageEnglish
Title of host publicationProceedings - 2021 IEEE 30th Asian Test Symposium, ATS 2021
PublisherIEEE Computer Society
Pages49-54
Number of pages6
ISBN (Electronic)9781665440516
DOIs
StatePublished - 2021
Event30th IEEE Asian Test Symposium, ATS 2021 - Virtual, Online, Japan
Duration: 22 Nov 2021 → 24 Nov 2021

Publication series

NameProceedings of the Asian Test Symposium
Volume2021-November
ISSN (Print)1081-7735

Conference

Conference30th IEEE Asian Test Symposium, ATS 2021
Country/TerritoryJapan
CityVirtual, Online
Period22/11/21 → 24/11/21

Keywords

  • causality
  • consistency
  • replication
  • testing framework

Fingerprint

Dive into the research topics of 'CausalTester: Measuring the Consistency of Replicated Services via Causality Semantics'. Together they form a unique fingerprint.

Cite this