Scalable Atomic Visibility with RAMP Transactions
Authors:
Open Access
- 18 July 2016
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 41 (3) , 1-45
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 ensuringatomic 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 (viacoordination-free execution), and minimized communication between servers (viapartition 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.Keywords
Funding Information
- DARPA XData Award (FA8750-12-2-0331)
- National Science Foundation Graduate Research Fellowship (DGE-1106400)
- NSF CISE Expeditions (CCF-1139158)
This publication has 53 references indexed in Scilit:
- Quantifying eventual consistency with PBSThe VLDB Journal, 2013
- 20 obstacles to scalabilityCommunications of the ACM, 2013
- Materialized ViewsFoundations and Trends® in Databases, 2012
- Toward a cloud computing research agendaACM SIGACT News, 2009
- Consensus on transaction commitACM Transactions on Database Systems, 2006
- Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web servicesACM SIGACT News, 2002
- A critique of ANSI SQL isolation levelsACM SIGMOD Record, 1995
- Concerning the size of logical clocks in distributed systemsInformation Processing Letters, 1991
- Consistency in a partitioned network: a surveyACM Computing Surveys, 1985
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978