Publication
VLDB 2022
Conference paper

DSON: JSON CRDT Using Delta-Mutations For Document Stores

Download paper

Abstract

We propose DSON, a space efficient 𝛿-based CRDT approach for distributed JSON document stores, enabling high availability at a global scale, while providing strong eventual consistency guaran- tees. We define the semantics of our CRDT based approach formally, and prove its correctness and convergence. Previous approaches optimize for collaborative document editing and store metadata proportional to the number of updates to a document, which is not acceptable for long lived document management. The metadata stored with our approach is bounded by 𝑂(𝑘^2𝐷 +𝑛 log𝑛), where 𝑛 is the number of replicas, 𝐷 is the number of document elements, and 𝑘 ≤𝑛 is the number of concurrent document updates. We also implement our approach[37] and demonstrate its space efficiency empirically. Experimental analysis shows that the metadata stored is typically significantly less than the worst case. This provides the basis for robust highly available distributed document stores with well defined semantics and safety guarantees, relieving application developers from the burden of conflict resolution.