The problem with embedded CRDT counters and a solution
    
  
 
  
    
    
        The problem with embedded CRDT counters and a solution
    
  
Files
Date
    
    
        2016
    
  
Authors
  Carlos Baquero
  Paulo Sérgio Almeida
  Lerche,C
Journal Title
Journal ISSN
Volume Title
Publisher
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.