Xue Jiang;Hengfeng Wei;Yu Huang;Yuxing Chen;Anqun Pan
{"title":"A Generic Specification Framework for Weakly Consistent Replicated Data Types","authors":"Xue Jiang;Hengfeng Wei;Yu Huang;Yuxing Chen;Anqun Pan","doi":"10.1109/TPDS.2025.3533546","DOIUrl":null,"url":null,"abstract":"Burckhardt et al. proposed a formal specification framework for eventually consistent replicated data types, denoted <inline-formula><tex-math>$(vis, ar)$</tex-math></inline-formula>, based on the notions of visibility and arbitration relations. However, being specific to eventually consistent systems, this framework has two limitations. First, it does not cover non-convergent consistency models since arbitration <inline-formula><tex-math>$ar$</tex-math></inline-formula> is a total order over events. Second, it does not cover the consistency models in which each event is required to be aware of the return values of some events that are visible to it when justifying its return value. These limitations make the <inline-formula><tex-math>$(vis, ar)$</tex-math></inline-formula> framework not generic enough to specify and reason about important weak consistency models such as Causal Memory and PRAM. In this article, we extend this framework to a more generic one called <inline-formula><tex-math>$(vis, ar, V)$</tex-math></inline-formula> for weakly consistent replicated data types. To specify non-convergent consistency models as well, we relax the arbitration relation <inline-formula><tex-math>$ar$</tex-math></inline-formula> to be a partial order. To overcome the second limitation, we allow to specify for each event <inline-formula><tex-math>$e$</tex-math></inline-formula>, a subset <inline-formula><tex-math>$V(e)$</tex-math></inline-formula> of its visible set whose return values cannot be ignored when justifying the return value of <inline-formula><tex-math>$e$</tex-math></inline-formula>. To make it practically feasible, we provide candidates for the visibility and arbitration relations and the <inline-formula><tex-math>$V$</tex-math></inline-formula> function. By combining candidates for these three components, we are able to specify not only existing consistency models but also new ones that are reasonable and promising for practical usefulness. We then show how to specify consistency models in our framework, and provide three case studies.","PeriodicalId":13257,"journal":{"name":"IEEE Transactions on Parallel and Distributed Systems","volume":"36 6","pages":"1338-1353"},"PeriodicalIF":5.6000,"publicationDate":"2025-01-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Parallel and Distributed Systems","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10852187/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Burckhardt et al. proposed a formal specification framework for eventually consistent replicated data types, denoted $(vis, ar)$, based on the notions of visibility and arbitration relations. However, being specific to eventually consistent systems, this framework has two limitations. First, it does not cover non-convergent consistency models since arbitration $ar$ is a total order over events. Second, it does not cover the consistency models in which each event is required to be aware of the return values of some events that are visible to it when justifying its return value. These limitations make the $(vis, ar)$ framework not generic enough to specify and reason about important weak consistency models such as Causal Memory and PRAM. In this article, we extend this framework to a more generic one called $(vis, ar, V)$ for weakly consistent replicated data types. To specify non-convergent consistency models as well, we relax the arbitration relation $ar$ to be a partial order. To overcome the second limitation, we allow to specify for each event $e$, a subset $V(e)$ of its visible set whose return values cannot be ignored when justifying the return value of $e$. To make it practically feasible, we provide candidates for the visibility and arbitration relations and the $V$ function. By combining candidates for these three components, we are able to specify not only existing consistency models but also new ones that are reasonable and promising for practical usefulness. We then show how to specify consistency models in our framework, and provide three case studies.
期刊介绍:
IEEE Transactions on Parallel and Distributed Systems (TPDS) is published monthly. It publishes a range of papers, comments on previously published papers, and survey articles that deal with the parallel and distributed systems research areas of current importance to our readers. Particular areas of interest include, but are not limited to:
a) Parallel and distributed algorithms, focusing on topics such as: models of computation; numerical, combinatorial, and data-intensive parallel algorithms, scalability of algorithms and data structures for parallel and distributed systems, communication and synchronization protocols, network algorithms, scheduling, and load balancing.
b) Applications of parallel and distributed computing, including computational and data-enabled science and engineering, big data applications, parallel crowd sourcing, large-scale social network analysis, management of big data, cloud and grid computing, scientific and biomedical applications, mobile computing, and cyber-physical systems.
c) Parallel and distributed architectures, including architectures for instruction-level and thread-level parallelism; design, analysis, implementation, fault resilience and performance measurements of multiple-processor systems; multicore processors, heterogeneous many-core systems; petascale and exascale systems designs; novel big data architectures; special purpose architectures, including graphics processors, signal processors, network processors, media accelerators, and other special purpose processors and accelerators; impact of technology on architecture; network and interconnect architectures; parallel I/O and storage systems; architecture of the memory hierarchy; power-efficient and green computing architectures; dependable architectures; and performance modeling and evaluation.
d) Parallel and distributed software, including parallel and multicore programming languages and compilers, runtime systems, operating systems, Internet computing and web services, resource management including green computing, middleware for grids, clouds, and data centers, libraries, performance modeling and evaluation, parallel programming paradigms, and programming environments and tools.