Skip to main content
Alex Rivera

2022

Pulse — Real-Time Collaborative Editor

A Figma-style multiplayer text editor built on CRDTs, syncing cursors and content in real time for dozens of concurrent editors.

ReactYjsWebRTCNode.js
Pulse editor with three simultaneous collaborator cursors

The Challenge

Naive last-write-wins syncing caused visible content flicker whenever two people typed in the same paragraph.

The Approach

Adopted a CRDT (Yjs) for conflict-free merges and a WebRTC mesh for peer sync, falling back to a relay server past six peers.

The Result

Cursor and content sync landed under 100ms for groups of up to 40 concurrent editors, with zero reported merge conflicts in production.