{"title":"CausalTester:通过因果语义度量复制服务的一致性","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":"{\"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}","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}
CausalTester: Measuring the Consistency of Replicated Services via Causality Semantics
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.