A Generic Specification Framework for Weakly Consistent Replicated Data Types

IF 5.6 2区 计算机科学 Q1 COMPUTER SCIENCE, THEORY & METHODS
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.
弱一致复制数据类型的通用规范框架
Burckhardt等人基于可见性和仲裁关系的概念,为最终一致的复制数据类型提出了一个正式的规范框架,表示为$(vis, ar)$。然而,由于特定于最终一致的系统,这个框架有两个限制。首先,它不包括非收敛一致性模型,因为仲裁$ar$是事件的总顺序。其次,它没有涵盖一致性模型,在一致性模型中,每个事件都需要知道某些事件的返回值,这些事件在证明其返回值时对它是可见的。这些限制使得$(vis, ar)$框架不够通用,无法对重要的弱一致性模型(如因果内存和PRAM)进行指定和推理。在本文中,我们将此框架扩展为一个更通用的框架,称为$(vis, ar, V)$,用于弱一致复制数据类型。为了确定非收敛的一致性模型,我们将仲裁关系$ar$放宽为偏序。为了克服第二个限制,我们允许为每个事件$e$指定其可见集合的一个子集$V(e)$,其返回值在验证$e$的返回值时不能被忽略。为了使其实际可行,我们提供了可见性和仲裁关系以及$V$函数的候选项。通过组合这三个组件的候选模型,我们不仅可以指定现有的一致性模型,还可以指定合理的、具有实际用途的新模型。然后,我们将展示如何在框架中指定一致性模型,并提供三个案例研究。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Parallel and Distributed Systems
IEEE Transactions on Parallel and Distributed Systems 工程技术-工程:电子与电气
CiteScore
11.00
自引率
9.40%
发文量
281
审稿时长
5.6 months
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信