Implementation Correctness for Replicated Data Types, Categorically

Replicated Data Types (rdts) have been introduced as an abstraction for dealing with weakly consistent data stores, which may (temporarily) expose multiple, inconsistent views of their state. In the literature, rdts are usually presented in set-theoretical terms: Only recently different specification flavours have been proposed, among them a denotational formalism that inter alia captures specification refinement. So far, however, no abstract model has been proposed for the implementations and their correctness with respect to specifications. This paper fills the gap: We first give categorical constructions for distilling an operational model from a specification, as well as its implementations, and then we define a notion of implementation correctness via simulation.

[1]  S. Lane,et al.  Sheaves In Geometry And Logic , 1992 .

[2]  Suresh Jagannathan,et al.  Safe replication through bounded concurrency verification , 2018, Proc. ACM Program. Lang..

[3]  Robin Milner,et al.  Deriving Bisimulation Congruences for Reactive Systems , 2000, CONCUR.

[4]  Suresh Jagannathan,et al.  Declarative programming over eventually consistent data stores , 2015, PLDI.

[5]  Fabio Gadducci,et al.  On the semantics and implementation of replicated data types , 2018, Sci. Comput. Program..

[6]  Fabio Gadducci,et al.  A Denotational View of Replicated Data Types , 2017, COORDINATION.

[7]  Sebastian Burckhardt,et al.  Replicated data types: specification, verification, optimality , 2014, POPL.

[8]  Pawel Sobocinski,et al.  Relational presheaves, change of base and weak simulation , 2015, J. Comput. Syst. Sci..

[9]  Sebastian Burckhardt,et al.  Understanding Eventual Consistency , 2013 .

[10]  Fabio Gadducci,et al.  A Categorical Account of Replicated Data Types , 2019, FSTTCS.

[11]  Marc Shapiro,et al.  Conflict-Free Replicated Data Types , 2011, SSS.

[12]  I. Moerdijk,et al.  Sheaves in geometry and logic: a first introduction to topos theory , 1992 .

[13]  Marc Shapiro,et al.  A comprehensive study of Convergent and Commutative Replicated Data Types , 2011 .

[14]  Sebastian Burckhardt,et al.  Consistency models with global operation sequencing and their composition (extended version) , 2017, DISC.

[15]  Constantin Enea,et al.  Verifying eventual consistency of optimistic replication systems , 2014, POPL.

[16]  Alexey Gotsman,et al.  A Framework for Transactional Consistency Models with Atomic Visibility , 2015, CONCUR.

[17]  Werner Vogels,et al.  Dynamo: amazon's highly available key-value store , 2007, SOSP.

[18]  Fabio Gadducci,et al.  A General Theory of Barbs, Contexts, and Labels , 2014, TOCL.