Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3517209.3524084acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article
Open access

An oblivious observed-reset embeddable replicated counter

Published: 05 April 2022 Publication History
  • Get Citation Alerts
  • Abstract

    Embedding CRDT counters has shown to be a challenging topic, since their introduction in Riak Maps. The desire for obliviousness, where all information about a counter is fully removed upon key removal, faces problems due to the possibility of concurrency between increments and key removals. Previous state-based proposals exhibit undesirable reset-wins semantics, which lead to losing increments, unsatisfactorily solved through manual generation management in the API. Previous operation-based approaches depend on causal stability, being prone to unbounded counter growth under network partitions. We introduce a novel embeddable operation-based CRDT counter which achieves both desirable observed-reset semantics and obliviousness upon resets. Moreover, it achieves this while merely requiring FIFO delivery, allowing a tradeoff between causal consistency and faster information propagation, being more robust under network partitions.

    References

    [1]
    Paulo Sérgio Almeida, Ali Shoker, and Carlos Baquero. 2018. Delta state replicated data types. J. Parallel and Distrib. Comput. 111 (2018), 162--173.
    [2]
    Carlos Baquero, Paulo Sérgio Almeida, and Carl Lerche. 2016. The Problem with Embedded CRDT Counters and a Solution. In Proceedings of the 2nd Workshop on the Principles and Practice of Consistency for Distributed Data (London, United Kingdom) (PaPoC '16). Association for Computing Machinery, New York, NY, USA, Article 10, 3 pages.
    [3]
    Carlos Baquero, Paulo Sérgio Almeida, and Ali Shoker. 2014. Making Operation-Based CRDTs Operation-Based. In Proceedings of the 14th IFIP WG 6.1 International Conference on Distributed Applications and Interoperable Systems - Volume 8460. Springer-Verlag, Berlin, Heidelberg, 126--140.
    [4]
    Basho. 2015. Riak datatypes. http://github.com/basho.
    [5]
    Martin Kleppmann, Adam Wiggins, Peter van Hardenberg, and Mark McGranaghan. 2019. Local-First Software: You Own Your Data, in Spite of the Cloud. In Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Athens, Greece) (Onward! 2019). Association for Computing Machinery, New York, NY, USA, 154--178.
    [6]
    Nuno Preguiça, Carlos Baquero, and Marc Shapiro. 2018. Conflict-Free Replicated Data Types CRDTs. Springer International Publishing, Cham, 1--10.
    [7]
    Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. 2011. A comprehensive study of Convergent and Commutative Replicated Data Types. Research Report RR-7506. Inria - Centre Paris-Rocquencourt; INRIA. 50 pages. https://hal.inria.fr/inria-00555588
    [8]
    Georges Younes, Paulo Sérgio Almeida, and Carlos Baquero. 2017. Compact Resettable Counters Through Causal Stability. In Proceedings of the 3rd International Workshop on Principles and Practice of Consistency for Distributed Data (Belgrade, Serbia) (PaPoC '17). ACM, New York, NY, USA, Article 2, 3 pages.

    Index Terms

    1. An oblivious observed-reset embeddable replicated counter

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      PaPoC '22: Proceedings of the 9th Workshop on Principles and Practice of Consistency for Distributed Data
      April 2022
      64 pages
      ISBN:9781450392563
      DOI:10.1145/3517209
      This work is licensed under a Creative Commons Attribution International 4.0 License.

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 05 April 2022

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. CRDTs
      2. distributed counting
      3. eventual consistency

      Qualifiers

      • Research-article

      Funding Sources

      • Fundação para a Ciência e a Tecnologia

      Conference

      EuroSys '22
      Sponsor:

      Acceptance Rates

      Overall Acceptance Rate 34 of 47 submissions, 72%

      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
      • 176
        Total Downloads
      • Downloads (Last 12 months)50
      • Downloads (Last 6 weeks)16
      Reflects downloads up to 10 Aug 2024

      Other Metrics

      Citations

      View Options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Get Access

      Login options

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media