CausalTester: Measuring the Consistency of Replicated Services via Causality Semantics

Yu Tang, Le Zhao, W. Yuan, Xu Wang
{"title":"CausalTester: Measuring the Consistency of Replicated Services via Causality Semantics","authors":"Yu Tang, Le Zhao, W. Yuan, Xu Wang","doi":"10.1109/ATS52891.2021.00021","DOIUrl":null,"url":null,"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.","PeriodicalId":432330,"journal":{"name":"2021 IEEE 30th Asian Test Symposium (ATS)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 30th Asian Test Symposium (ATS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ATS52891.2021.00021","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
CausalTester:通过因果语义度量复制服务的一致性
云和大数据系统经常复制数据,并且倾向于弱一致性,例如最终一致性,以获得更好的可伸缩性和可用性。这种弱一致性可能会产生意想不到的和有害的系统行为,例如,陈旧的读取和冲突的写入。为了衡量一致性水平,帮助开发人员了解危害程度,我们提出了一个名为CausalTester的测试框架来评估复制系统的因果关系语义,包括从Twitter、Flickr、Amazon以及相应的基准服务中收集的12个真实测试用例,并使用crash injection自动检测因果关系违反。我们实现了测试框架,并测量了三个广泛使用的分布式数据库的一致性。实验结果表明,对于弱一致性,该方法可以有效地检测一致性违规,对于强一致性,该方法有助于发现与一致性相关的错误。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Positive and Negative Extra Clocking of LFSR Seeds for Reduced Numbers of Stored Tests Lightweight Hardware-Based Memory Protection Mechanism on IoT Processors Further Analysis of Laser-induced IR-drop Effective SAT-based Solutions for Generating Functional Sequences Maximizing the Sustained Switching Activity in a Pipelined Processor Application of Residue Sampling to RF/AMS Device Testing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1