Real-time, asynchronous collaboration on JSON
summary
Describes a practical stack for real-time JSON sync: JSON Patch (RFC) + jsonpointer for minimal change messages, fast-json-patch >1M ops/s for local apply, and jsonpatchqueue to enforce sequential delivery. Introduces a simple versioned-jsonpatch and a multi-version convention to detect and queue out-of-order patches, and uses Operational Transformation to transform conflicting ops. Presents puppet.js as a ready library wiring websockets/HTTP, and cites production use (Starcounter, JS and C#) for server-driven view-models.
AI-written summary · about
