Realtime Collaborative Editor cover
All work

2023

Realtime Collaborative Editor

A Google-Docs-style editor with conflict-free multi-cursor editing backed by CRDTs over WebSockets.

Overview

Implemented realtime collaboration end to end: a CRDT document model that merges concurrent edits without conflicts, a Go WebSocket gateway that fans out changes to every connected client, and presence indicators showing who is editing where. Persisted document state and version history to PostgreSQL and added a snapshot compaction job so replay stays fast as documents grow.

Role & impact

My role

Full-stack engineer — CRDT model, sync gateway, and editor UI.

Impact

Sustained 200+ concurrent editors per document with sub-100ms sync latency.

Stack

TypeScriptReactGoWebSocketPostgreSQL