Design: a collaborative editor

The core idea

A collaborative editor lets several people change the same document while seeing one another's work.

Each person's typing appears locally before a server can confirm it.

In this lesson

  • The editing experience
  • Why positions stop being enough
  • Two edits, then one local undo
  • What the server accepts
  • Inspect the persistence boundary
  • Rejoining without a gap
  • Checkpoints, history and restoration
  • Scaling the rooms

Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.