Scalable Atomic Visibility with RAMP Transactions

Author:

Bailis Peter1,Fekete Alan2,Ghodsi Ali3,Hellerstein Joseph M.3,Stoica Ion3

Affiliation:

1. Stanford University, Stanford, CA

2. University of Sydney, NSW, Australia

3. UC Berkeley, CA

Abstract

Databases can provide scalability by partitioning data across several servers. However, multipartition, multioperation transactional access is often expensive, employing coordination-intensive locking, validation, or scheduling mechanisms. Accordingly, many real-world systems avoid mechanisms that provide useful semantics for multipartition operations. This leads to incorrect behavior for a large class of applications including secondary indexing, foreign key enforcement, and materialized view maintenance. In this work, we identify a new isolation model—Read Atomic (RA) isolation—that matches the requirements of these use cases by ensuring atomic visibility : either all or none of each transaction’s updates are observed by other transactions. We present algorithms for Read Atomic Multipartition (RAMP) transactions that enforce atomic visibility while offering excellent scalability, guaranteed commit despite partial failures (via coordination-free execution ), and minimized communication between servers (via partition independence ). These RAMP transactions correctly mediate atomic visibility of updates and provide readers with snapshot access to database state by using limited multiversioning and by allowing clients to independently resolve nonatomic reads. We demonstrate that, in contrast with existing algorithms, RAMP transactions incur limited overhead—even under high contention—and scale linearly to 100 servers.

Funder

DARPA XData Award

National Science Foundation Graduate Research Fellowship

NSF CISE Expeditions

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Reference63 articles.

1. Consistency Tradeoffs in Modern Distributed Database System Design: CAP is Only Part of the Story

2. Atul Adya. 1999. Weak Consistency: A Generalized Theory and Optimistic Implementations for Distributed Transactions. Ph.D. Dissertation. MIT. Atul Adya. 1999. Weak Consistency: A Generalized Theory and Optimistic Implementations for Distributed Transactions. Ph.D. Dissertation. MIT.

3. Divyant Agrawal and Vasudha Krishnaswamy. 1991. Using multiversion data for non-interfering execution of write-only transactions. In SIGMOD. 10.1145/115790.115801 Divyant Agrawal and Vasudha Krishnaswamy. 1991. Using multiversion data for non-interfering execution of write-only transactions. In SIGMOD. 10.1145/115790.115801

4. Peter Bailis Aaron Davidson Alan Fekete Ali Ghodsi Joseph M. Hellerstein and Ion Stoica. 2014a. Highly available transactions: Virtues and limitations. In VLDB. 10.14778/2732232.2732237 Peter Bailis Aaron Davidson Alan Fekete Ali Ghodsi Joseph M. Hellerstein and Ion Stoica. 2014a. Highly available transactions: Virtues and limitations. In VLDB. 10.14778/2732232.2732237

Cited by 23 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Understanding Transaction Bugs in Database Systems;Proceedings of the IEEE/ACM 46th International Conference on Software Engineering;2024-04-12

2. NOC-NOC: Towards Performance-optimal Distributed Transactions;Proceedings of the ACM on Management of Data;2024-03-12

3. Detecting Isolation Bugs via Transaction Oracle Construction;2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE);2023-05

4. Serverless Computing: State-of-the-Art, Challenges and Opportunities;IEEE Transactions on Services Computing;2023-03-01

5. Bridging the semantic gap between qualitative and quantitative models of distributed systems;Proceedings of the ACM on Programming Languages;2022-10-31

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3