Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2911151.2911159acmotherconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
short-paper

The problem with embedded CRDT counters and a solution

Published: 18 April 2016 Publication History
  • Get Citation Alerts
  • Abstract

    Conflict-free Replicated Data Types (CRDTs) can simplify the design of deterministic eventual consistency. Considering the several CRDTs that have been deployed in production systems, counters are among the first. Counters are apparently simple, with a straightforward inc/dec/read API, but can require complex implementations and several variants have been specified and coded. Unlike sets and registers, that can be adapted to operate inside maps, current counter approaches exhibit anomalies when embedded in maps. Here, we illustrate the anomaly and propose a solution, based on a new counter model and implementation.

    References

    [1]
    P. Bailis and A. Ghodsi. Eventual consistency today: Limitations, extensions, and beyond. Queue, 11(3):20:20--20:32, Mar. 2013.
    [2]
    C. Baquero. Delta-enabled-crdts. URL http://github.com/CBaquero/delta-enabled-crdts, Retrieved 22-dec-2015.
    [3]
    Basho. Riak datatypes. URL http://github.com/basho, Retrieved 22-dec-2015.
    [4]
    R. Brown. Personal Communication, Jan 2016.
    [5]
    R. Brown, S. Cribbs, C. Meiklejohn, and S. Elliott. Riak dt map: A composable, convergent replicated dictionary. In Proceedings of the First Workshop on Principles and Practice of Eventual Consistency, PaPEC '14, pages 1:1--1:1, New York, NY, USA, 2014. ACM.
    [6]
    M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. A comprehensive study of Convergent and Commutative Replicated Data Types. Rapp. Rech. 7506, INRIA, Rocquencourt, France, Jan. 2011.
    [7]
    M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. Conflict-free replicated data types. In X. Défago, F. Petit, and V. Villain, editors, Int. Symp. on Stabilization, Safety, and Security of Distributed Systems (SSS), volume 6976 of Lecture Notes in Comp. Sc., pages 386--400, Grenoble, France, Oct. 2011. Springer-Verlag.
    [8]
    W. Vogels. Eventually consistent. ACM Queue, 6(6):14--19, Oct. 2008.

    Cited By

    View all
    • (2022)An oblivious observed-reset embeddable replicated counterProceedings of the 9th Workshop on Principles and Practice of Consistency for Distributed Data10.1145/3517209.3524084(47-52)Online publication date: 5-Apr-2022
    • (2020)Composing and decomposing op-based CRDTs with semidirect productsProceedings of the ACM on Programming Languages10.1145/34089764:ICFP(1-27)Online publication date: 3-Aug-2020
    • (2020)FlecProceedings of the 7th Workshop on Principles and Practice of Consistency for Distributed Data10.1145/3380787.3393685(1-4)Online publication date: 27-Apr-2020
    • Show More Cited By

    Index Terms

    1. The problem with embedded CRDT counters and a solution

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Other conferences
      PaPoC '16: Proceedings of the 2nd Workshop on the Principles and Practice of Consistency for Distributed Data
      April 2016
      54 pages
      ISBN:9781450342964
      DOI:10.1145/2911151
      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].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 18 April 2016

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. CRDTs
      2. distributed counting
      3. eventual consistency

      Qualifiers

      • Short-paper

      Funding Sources

      • North Portugal Regional Operational Programme (Norte 2020)
      • European Regional Development Fund (ERDF)
      • European Union Seventh Framework Program

      Conference

      EuroSys '16
      EuroSys '16: Eleventh EuroSys Conference 2016
      April 18 - 21, 2016
      London, United Kingdom

      Acceptance Rates

      Overall Acceptance Rate 34 of 47 submissions, 72%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)29
      • Downloads (Last 6 weeks)1

      Other Metrics

      Citations

      Cited By

      View all
      • (2022)An oblivious observed-reset embeddable replicated counterProceedings of the 9th Workshop on Principles and Practice of Consistency for Distributed Data10.1145/3517209.3524084(47-52)Online publication date: 5-Apr-2022
      • (2020)Composing and decomposing op-based CRDTs with semidirect productsProceedings of the ACM on Programming Languages10.1145/34089764:ICFP(1-27)Online publication date: 3-Aug-2020
      • (2020)FlecProceedings of the 7th Workshop on Principles and Practice of Consistency for Distributed Data10.1145/3380787.3393685(1-4)Online publication date: 27-Apr-2020
      • (2020)A Classification of Replicated Data for the Design of Eventually Consistent Domain Models2020 IEEE International Conference on Software Architecture Companion (ICSA-C)10.1109/ICSA-C50368.2020.00014(33-40)Online publication date: Mar-2020
      • (2020)Replicated data types that unify eventual consistency and observable atomic consistencyJournal of Logical and Algebraic Methods in Programming10.1016/j.jlamp.2020.100561(100561)Online publication date: May-2020
      • (2019)Memory efficient CRDTs in dynamic environmentsProceedings of the 11th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages10.1145/3358504.3361231(48-57)Online publication date: 22-Oct-2019
      • (2018)Observable atomic consistency for CvRDTsProceedings of the 8th ACM SIGPLAN International Workshop on Programming Based on Actors, Agents, and Decentralized Control10.1145/3281366.3281372(23-32)Online publication date: 5-Nov-2018
      • (2017)Verifying strong eventual consistency in distributed systemsProceedings of the ACM on Programming Languages10.1145/31339331:OOPSLA(1-28)Online publication date: 12-Oct-2017
      • (2017)Compact Resettable Counters through Causal StabilityProceedings of the 3rd International Workshop on Principles and Practice of Consistency for Distributed Data10.1145/3064889.3064892(1-3)Online publication date: 23-Apr-2017
      • (2017)A Conflict-Free Replicated JSON DatatypeIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2017.269738228:10(2733-2746)Online publication date: 1-Oct-2017
      • Show More Cited By

      View Options

      Get Access

      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