THE VIDEO SHELF · real-time collaborative editing
Differential Synchronization
Neil Fraser of Google presents Differential Synchronization, the algorithm behind MobWrite, for keeping multiple copies of a document in sync in real time. The talk argues the approach is robust, convergent and efficient.
Why HN readers recommended it
HN points to it as a simple diff-and-patch alternative to operational transforms and CRDTs for collaborative editing.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- Google TechTalks
- Topic
- real-time collaborative editing
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 3
- HN mentions in dataset
- 4
- Recommendation years in dataset
- 2012–2020
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
One real-world use case is differential synchronization. Here's a Google Tech Talk on the subject: [VIDEO] This is for real-time collaborative editing or replication of structured data (unlike Operational Transformation, which is optimized for text). Sending patches back and forth is at the core of …
raganwald on Hacker News · 2012-09
In JSON Patch, a proposed standard for synchronizing JSON structuresI've not tried it, but you might also be interested in an approach called differential synchronization[1]. Basically, it's just a specific way of passing diffs around to guarantee convergence, though (as far as I can tell) it doesn't guarantee much else (as in do you …
dahjelle on Hacker News · 2014-06
In Eventual Consistency in Real-time Web AppsI'm working on a project with some offline data synchronization needs, but haven't started implementation yet. I've been following CRDTs with interest. I also saw many of the same downsides mentioned in the OP, e.g. bloat (which apparently are being addressed remarkably well). Beyond OT, …
mhale on Hacker News · 2020-09
In CRDTs are the future
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.