Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data最新文献

筛选
英文 中文
Convergent Causal Consistency for Social Media Posts 社交媒体帖子的收敛因果一致性
T. Hsu, A. Kshemkalyani
{"title":"Convergent Causal Consistency for Social Media Posts","authors":"T. Hsu, A. Kshemkalyani","doi":"10.1145/3447865.3457967","DOIUrl":"https://doi.org/10.1145/3447865.3457967","url":null,"abstract":"Geo-replicated services play a vital role in cloud storage management by providing enhanced availability, higher reliability, and lower latency on demand access to shared infrastructure and data resources. In such environments, consistency is a critical and essential consideration for distributed storage systems where it is required to make updates to the replicated data. Convergent causal consistency has become a popular consistency model by offering useful semantics for online human interaction services. Adaptive non-full replication strategies have potential benefit of lower message counts in social network systems. However, static replication is ineffective for time-varying workloads. This paper presents a causal+ consistency protocol, CaDRoP, to support adaptive dynamic replication with the convergence property for all comments following a post and the causal ordering between posts with explicit causality. We evaluate CaDRoP protocol with realistic workloads by different PUT rates in terms of the practical price of Amazon Web Service. The results show that CaDRoP can yield significantly lower cost than it is running in a statically replicated data store. We further evaluate CaDRoP by comparing it with a clairvoyant optimal replication solution. The findings indicate that with cache, CaDRoP incurs only around 6% ~ 16% extra cost. Without cache, CaDRoP brings around 2% ~ 4.5% extra cost in steady states.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"45 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127860864","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Advanced Domain-Driven Design for Consistency in Distributed Data-Intensive Systems 分布式数据密集型系统一致性的高级领域驱动设计
Susanne Braun, Annette Bieniusa, Frank Elberzhager
{"title":"Advanced Domain-Driven Design for Consistency in Distributed Data-Intensive Systems","authors":"Susanne Braun, Annette Bieniusa, Frank Elberzhager","doi":"10.1145/3447865.3457969","DOIUrl":"https://doi.org/10.1145/3447865.3457969","url":null,"abstract":"More and more data-intensive systems have emerged lately. Big Data, Artificial Intelligence, or cloud-native applications all require high scalability and availability. Data is no longer persisted in one central relational database with serialized and transactional access, but rather distributed and replicated among different nodes running only under eventual consistency. This poses a number of design challenges for software architects, as they cannot rely on a single system to mask the concurrency anomalies of concurrent access to distributed and replicated data. Based on three case studies, we developed a theory regarding how practitioners handle synchronization and consistency design challenges in distributed data-intensive applications. We also identified the \"white spots\" of missing design guidance needed by practitioners to handle the aforementioned challenges appropriately. We are currently evaluating our theory in the context of an action research study. In this study, we are also evaluating the novel design guidelines we are proposing in this regard, which, according to our theory, meet the needs of practitioners. Our design guidelines integrate with Domain-Driven Design, which is widely used in practice. Following the idea of multilevel serializability, we investigate the compatibility of business operations beyond commutativity. We provide concrete practical design guidance to achieve compatibility of non-commutative business operations. We also describe the basic infrastructure guarantees our design guidelines require from replication frameworks.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"362 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115782246","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
Array CRDTs Using Delta-Mutations 使用Delta-Mutations的数组crdt
Arik Rinberg, Tomer Solomon, Guy Khazma, Gal Lushi, Roee Shlomo, Paula Ta-Shma
{"title":"Array CRDTs Using Delta-Mutations","authors":"Arik Rinberg, Tomer Solomon, Guy Khazma, Gal Lushi, Roee Shlomo, Paula Ta-Shma","doi":"10.1145/3447865.3457971","DOIUrl":"https://doi.org/10.1145/3447865.3457971","url":null,"abstract":"&dgr;-CRDTs can achieve the best of both worlds compared to operation and state based alternatives, enabling small incremental messages disseminated over unreliable communication channels. The main composable causal &dgr;-CRDT defined to date is an Observed-Remove Map which can embed other causal &dgr;-CRDTs. However, maps on their own are not sufficient to handle most real world scenarios. In this paper we construct nested &dgr;-based Array CRDTs with support for move operation. Arrays and maps can then be combined to represent many useful data types, notably JSON documents, which require (1) maps, (2) arrays, and (3) atoms, and allow arbitrary nesting. To achieve this we define two new algorithms for &dgr;-based array CRDTs, one with remove-wins semantics and the other with observed-remove semantics. While previous solutions exist for operations based CRDTs, we provide a &dgr;-CRDT based solution.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122073006","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Towards the Synthesis of Coherence/Replication Protocols from Consistency Models via Real-Time Orderings 通过实时排序从一致性模型合成一致性/复制协议
Vasilis Gavrielatos, V. Nagarajan, P. Fatourou
{"title":"Towards the Synthesis of Coherence/Replication Protocols from Consistency Models via Real-Time Orderings","authors":"Vasilis Gavrielatos, V. Nagarajan, P. Fatourou","doi":"10.1145/3447865.3457964","DOIUrl":"https://doi.org/10.1145/3447865.3457964","url":null,"abstract":"This work focuses on shared memory systems with a read-write interface (e.g., distributed datastores or multiprocessors). At the heart of such systems resides a protocol responsible for enforcing their consistency guarantees. Designing a protocol that correctly and efficiently enforces consistency is a very challenging task. Our overarching vision is to automate this task. In this work we take a step towards this vision by establishing the theoretical foundation necessary to automatically infer a protocol from a consistency specification. Specifically, we propose a set of mathematical abstractions, called real-time orderings (rt-orderings), that model the protocol. We then create a mapping from consistency guarantees to the minimal rt-orderings that enforce the guarantees. Finally, we informally relate the rt-orderings to protocol implementation techniques. Consequently, rt-orderings serve as an intermediate abstraction between consistency and protocol design, that enables the automatic translation of consistency guarantees into protocol implementations.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129741392","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Improving the Reactivity of Pure Operation-Based CRDTs 提高纯操作型crdt的反应性
Jim Bauwens, E. G. Boix
{"title":"Improving the Reactivity of Pure Operation-Based CRDTs","authors":"Jim Bauwens, E. G. Boix","doi":"10.1145/3447865.3457968","DOIUrl":"https://doi.org/10.1145/3447865.3457968","url":null,"abstract":"Modern distributed applications increasingly replicate data to guarantee both high availability of the system and an optimal user experience. Conflict-Free Replicated Data Types (CRDTs) are a family of data types specially designed for highly available systems which guarantee some form of eventual consistency. In this paper, we show that the reliance on reliable causal broadcasting (RCB) middleware by existing CRDT frameworks may lead to less reactive CRDTs which in turn hampers user experience. We propose a solution that improves the reactivity of CRDTs built on an RCB middleware by reifying buffered operations. We apply our strategy to the pure operation-based CRDT framework, allowing for reactive pure operation-based CRDTs. We describe our approach as a formal extension to the framework and implement it in Flec, an extensible and open CRDT framework. The extension is then used to create new Add-Wins and Remove-Wins sets which exhibit higher reactivity.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"25 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132563770","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Access Control Conflict Resolution in Distributed File Systems using CRDTs 基于crdt的分布式文件系统访问控制冲突解决
Elena Yanakieva, M. Youssef, A. Rezae, Annette Bieniusa
{"title":"Access Control Conflict Resolution in Distributed File Systems using CRDTs","authors":"Elena Yanakieva, M. Youssef, A. Rezae, Annette Bieniusa","doi":"10.1145/3447865.3457970","DOIUrl":"https://doi.org/10.1145/3447865.3457970","url":null,"abstract":"Distributed file systems have become an essential service for sharing data among users. An important aspect of a file system is its ability to keep its contents secure from unauthorized access. To investigate the interplay of security and consistency in distributed file systems, we formalize the three properties related to data security, namely confidentiality, integrity and accessibility. Based on these properties, we provide an impossibility result that indicates that these properties cannot be achieved together in a highly-available partition-tolerant setting. We further discuss a CRDT-based model, implementing the traditional POSIX access control policy, that guarantees confidentiality and integrity while precluding accessibility only in rare situations. Our conclusion is that the POSIX policies are not suitable in a distributed system setting, but that a more fine-grained model is required to obtain the security semantics that reflect the users' intention.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129079491","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Totally-Ordered Prefix Parallel Snapshot Isolation 全序前缀并行快照隔离
Nuno Faria, J. Pereira
{"title":"Totally-Ordered Prefix Parallel Snapshot Isolation","authors":"Nuno Faria, J. Pereira","doi":"10.1145/3447865.3457966","DOIUrl":"https://doi.org/10.1145/3447865.3457966","url":null,"abstract":"Distributed data management systems have increasingly been using variants of Snapshot Isolation (SI) as their transactional isolation criteria as it combines strong ACID guarantees with non-blocking reads and scalability. However, most existing proposals are limited by the performance of update propagation and stability detection, in particular, when execution and storage are disaggregated. In this paper, we propose TOPSI, an approach providing a restricted form of Parallel Snapshot Isolation (PSI) that allows partially ordering recent transactions to avoid waiting for remote updates or using a stale snapshot. Moreover, it has the interesting property of making a prefix of history in all sites converge to a common total order. This allows versions to be represented by a single scalar timestamp for certification and storage in a shared store. We demonstrate the impact on throughput and abort rate with a proof-of-concept implementation and the industry-standard TPC-C benchmark.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"127 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127496547","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Read-Write Quorum Systems Made Practical 读写仲裁系统成为现实
Michael J. Whittaker, Aleksey Charapko, J. Hellerstein, H. Howard, I. Stoica
{"title":"Read-Write Quorum Systems Made Practical","authors":"Michael J. Whittaker, Aleksey Charapko, J. Hellerstein, H. Howard, I. Stoica","doi":"10.1145/3447865.3457962","DOIUrl":"https://doi.org/10.1145/3447865.3457962","url":null,"abstract":"Quorum systems are a powerful mechanism for ensuring the consistency of replicated data. Production systems usually opt for majority quorums due to their simplicity and fault tolerance, but majority quorum systems provide poor throughput and scalability. Alternatively, researchers have invented a number of theoretically \"optimal\" quorum systems, but the underlying theory ignores many practical complexities such as machine heterogeneity and workload skew. In this paper, we conduct a pragmatic re-examination of quorum systems. We enrich the current theory on quorum systems with a number of practical refinements to find quorum systems that provide higher throughput, lower latency, and lower network load. We also develop a library Quoracle that precisely quantifies the available trade-offs between quorum systems to empower engineers to find optimal quorum systems, given a set of objectives for specific deployments and workloads. Our tool is available online at: https://github.com/mwhittaker/quoracle.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"61 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114583216","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
SCEW SCEW
Martijn Sauwens, Kristof Jannes, B. Lagaisse, W. Joosen
{"title":"SCEW","authors":"Martijn Sauwens, Kristof Jannes, B. Lagaisse, W. Joosen","doi":"10.1145/3447865.3457965","DOIUrl":"https://doi.org/10.1145/3447865.3457965","url":null,"abstract":"Collaborative web applications are becoming increasingly client-centric, with technologies such as WebRTC, WebWorkers and IndexedDB enabling a shift towards a decentralized peer-to-peer (P2P) model. Contemporary systems such as Automerge, Legion, OWebSync and Yjs provide fault tolerance and consistency by using Conflict-free Replicated Data Types for synchronization. These systems tolerate crash-faults, but lack resilience against arbitrary faults and malicious users, also known as Byzantine faults. Providing Byzantine fault tolerance (BFT) in web apps is non-trivial. Web apps are executed in web browsers on end user devices. The scarce compute resources and the interactive nature of collaborative web apps do require both a lightweight and low-latency solution, while still providing the Byzantine fault tolerance required by P2P systems to protect shared assets. Our work aims to fill this gap by indroducing SCEW, a programming framework for client-centric P2P web apps that require BFT and interactive collaboration. SCEW achieves this by combining state-based Convergent Replicated Data Types (CvRDTs) and smart contracts. SCEW represents assets shared by peers as CvRDTs with atomic register semanctics, that provide BFT through the use of BFT-consensus algorithms. SCEW employs smart contracts to define the life-cycle of these shared assets, shielding the application and it's developers from the complexity of the CvRDT's consensus protocol. Experimental results indicate that applications using SCEW can support P2P networks with 100 peers, even when Byzantine faults are present.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125248886","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Cambria 威尔士
Geoffrey Litt, Peter van Hardenberg, Orion Henry
{"title":"Cambria","authors":"Geoffrey Litt, Peter van Hardenberg, Orion Henry","doi":"10.1145/3447865.3457963","DOIUrl":"https://doi.org/10.1145/3447865.3457963","url":null,"abstract":"Schema evolution is a pervasive challenge in distributed systems. Developers often resort to ad hoc solutions that mix compatibility concerns with application code. We propose a principled replacement: an isolated software layer that uses bidirectional lenses to translate data between schemas on demand to maintain backward and forward compatibility. We have implemented these ideas in a TypeScript library called Cambria, and integrated it with the Automerge CRDT to support peer-to-peer editing. We share reflections from building a decentralized issue tracker application and successfully using Cambria to maintain compatibility across versions. We also present our vision for a \"Cambrian Era\" for software, where better schema evolution tools enable people to customize their software more freely while preserving the ability to collaborate.","PeriodicalId":102841,"journal":{"name":"Proceedings of the 8th Workshop on Principles and Practice of Consistency for Distributed Data","volume":"110 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132395717","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书