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)
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