DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Mergeable Containers: Fixing Concurrent Child Creation

Quality: 8/10 Relevance: 9/10

Summary

The article explains a data synchronization problem in JSON-like CRDTs when two offline peers concurrently create separate child containers. It introduces Loro's Mergeable Containers to tie a child container’s identity to its logical position in the map, using a deterministic CID and a map-slot activation marker. It covers API changes (ensureMergeable*), encoding details, practical use cases, and compatibility considerations.

🚀 Service construit par Johan Denoyer