Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/2596631.2596637acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article

Having your cake and eating it too: combining strong and eventual consistency

Published: 13 April 2014 Publication History

Abstract

Given the limitations imposed on distributed systems that are necessary to maintain strong consistency guarantees there is a growing interest in relaxed consistency models. Such models are often sufficient for particular applications, but allow more freedom to improve scalability and availability. Eventual consistency is a particularly useful approach, where the correct state spreads throughout the system over time, so that at any point any element of the system may be inconsistent, but all elements will eventually converge upon a consistent state. On the other hand relaxing properties may be unacceptable in the general case: a slightly stale shopping cart is one thing, but inconsistent payment processing is quite another.
In this paper we try to balance strong and eventual consistency by proposing a general-purpose pessimistic distributed transactional memory that allows eventually consistent transactions to run alongside consistent ones. While the former maintain read-isolation (i.e., read from a consistent snapshot), they do not interfere with the latter's safety properties. The relaxed-consistency transactions are later followed by their consistent counterpart so that the user view and global state eventually agree. Our contribution is to show that we can significantly relax synchronization (to the point of eliminating it completely from eventually consistent transactions) while retaining useful properties, but without imposing additional constraints about system architecture or data operations, common to other relaxed consistency approaches. All this, without affecting those transactions that execute in consistent mode.

References

[1]
Y. Afek, A. Morrison, and M. Tzafrir. Brief announcement: View Transactions: Transactional Model with Relaxed Consistency Checks. In Proc. PODC'10, July 2010.
[2]
S. Burckhardt, D. Leijen, M. Fähndrich, and M. Sagiv. Eventually consistent transactions. In Proc. ESOP'12, Apr. 2012.
[3]
S. Burckhardt, M. Manuel Fähndrich, D. Leijen, and B. Wood. Cloud types for eventual consistency. In Proc. ECOOP'12, June 2012.
[4]
J. C. Corbett and et al. Spanner: Google's Globally-Distributed Database. In Proc. OSDI'12, Oct. 2012.
[5]
M. Couceiro, P. Romano, N. Carvalho, and L. Rodrigues. D2STM: Dependable distributed software transactional memory. In Proc. PRDC'09, Nov. 2009.
[6]
G. DeCandia, D. Hastorun, M. Jampani, G. Kakulapati, A. Lakshman, A. Pilchin, S. Sivasubramanian, P. Vosshall, and W. Vogels. Dynamo: Amazon's highly available key-value store. In Proc. SOSP'07, Oct. 2007.
[7]
P. Felber, V. Gramoli, and R. Guerraoui. Elastic Transactions. In Proc. DISC'09, Sept. 2009.
[8]
M. Herlihy and J. E. B. Moss. Transactional memory: Architectural support for lock-free data structures. In Proc. ISCA'93, May 1993.
[9]
M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. Conflict-free replicated data types. In Proc. SSS'11, Oct. 2011.
[10]
K. Siek and P. T. Wojciechowski. A Formal Design of a Tool for Static Analysis of Upper Bounds on Object Calls in Java. In Proc. FMICS'12, Aug. 2012.
[11]
K. Siek and P. T. Wojciechowski. Brief announcement: Towards a Fully-Articulated Pessimistic Distributed Transactional Memory. In In Proc. SPAA'13, July 2013.
[12]
Y. Sovran, R. Power, M. Aguilera, and J. Li. Transactional storage for geo-replicated systems. In Proc. SOSP'11, Oct. 2011.
[13]
D. Terry, M. Theimer, K. Petersen, A. Demers, M. Spreitzer, and C. Hauser. Managing update conflicts in Bayou, a weakly connected replicated storage system. In Proc. SOSP'95, Dec. 1995.
[14]
A. Turcu, B. Ravindran, and R. Palmieri. HyFlow2: A High Performance Distributed Transactional Memory Framework in Scala. In Proc. PPPJ'13, Sept. 2013.
[15]
P. T. Wojciechowski. Isolation-only Transactions by Typing and Versioning. In Proc. PPDP '05, July 2005.
[16]
P. T. Wojciechowski, O. Rütti, and A. Schiper. SAMOA: A Framework for a Synchronisation--Augmented Microprotocol Approach. In Proc. IPDPS '04, Apr. 2004.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
PaPEC '14: Proceedings of the First Workshop on Principles and Practice of Eventual Consistency
April 2014
47 pages
ISBN:9781450327169
DOI:10.1145/2596631
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 April 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. eventual consistency
  2. transactional memory

Qualifiers

  • Research-article

Funding Sources

Conference

EuroSys 2014
Sponsor:
EuroSys 2014: Ninth Eurosys Conference 2014
April 13, 2014
Amsterdam, The Netherlands

Acceptance Rates

PaPEC '14 Paper Acceptance Rate 16 of 20 submissions, 80%;
Overall Acceptance Rate 16 of 20 submissions, 80%

Upcoming Conference

EuroSys '25
Twentieth European Conference on Computer Systems
March 30 - April 3, 2025
Rotterdam , Netherlands

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 206
    Total Downloads
  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Nov 2024

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media