Collaborative Real-Time Text Editing: A Front-End Case Study
summary
Real-time collaborative text editing in web apps, specifically how Grammarly’s Front-End team implemented it in the Grammarly web editor. Covers implementation challenges, communication protocols (collaboration/sync protocols) and Front-End-specific pitfalls and nuances to watch for.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 2:07Alexei and Grammarie
- 3:08Real-time editor goals
- 4:54Two-way sync
- 6:40Edit conflicts
- 8:49OT vs CRDT protocols
- 13:29OT vs CRDT comparison
- 16:44OT choice
- 17:04OT example
- 21:24Editor and server
- 23:58Delta format
- 27:11Extending Delta for highlights
- 30:47Performance with highlights
- 31:51Production results
- 32:56Resources
related talks
37mBuilding a Collaborative Text Editor
01h 00mBuilding a real-time collaborative editor
13mHow to make a real-time collaborative text editor in 5 easy steps!
52mA Story about Scaling Front-End Platforms at Grammarly
40mNew algorithms for collaborative text editing
23mBuilding a real-time collaborative editor with Phoenix
41mCreating collaborative editing UIs in React
05mBuilding Editors in the Browser
