Differential Synchronization
What it is
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 Hacker News recommends it
HN points to it as a simple diff-and-patch alternative to operational transforms and CRDTs for collaborative editing.
- 3 people recommended it
- 3 different months
- 0 strong recommendations
- first 2012, last 2020
What HN commenters said
“Here's a Google Tech Talk on the subject”
Explains patch-based sync for real-time collaborative editing.
raganwald, 2012-09 · Recommendation · in “JSON Patch, a proposed standard for synchronizing JSON structures”
“The really nice bits, though, are that it is a simple algorithm”
Simple algorithm for convergence using diff/patch.
dahjelle, 2014-06 · Recommendation · in “Eventual Consistency in Real-time Web Apps”
“another approach I've run across that looks very promising is Differential Synchronization[1] by Neil Fraser”
Promising alternative to OT that chains servers.
mhale, 2020-09 · Recommendation · in “CRDTs are the future”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: differential synchronization, diff patch, mobwrite, operational transform, convergence
Also recommended by the same people
documentaryThe End of Suburbia - 52 minute documentary on peak oilendofsuburbia · 3 HN recommenders · 2011–2021
talkReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VMReactiveConf · 1 HN recommender · 2018–2019
talkThe Soul of Erlang and Elixir • Sasa Juric • GOTO 2019GOTO Conferences · 16 HN recommenders · 2019–2024
talk"Testing Distributed Systems w/ Deterministic Simulation" by Will WilsonStrange Loop Conference · 12 HN recommenders · 2014–2024
talkErlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsAppErlang Solutions · 6 HN recommenders · 2014–2022
talk"Turning the database inside out with Apache Samza" by Martin KleppmannStrange Loop Conference · 9 HN recommenders · 2015–2025
talkThe Language of the System - Rich HickeyClojureTV · 10 HN recommenders · 2013–2025
talkGoogle I/O 2012 - Go Concurrency PatternsGoogle for Developers · 9 HN recommenders · 2012–2025