The Question
FE DesignReal-time Collaborative Editor Design
Design a high-performance, real-time collaborative document editor (similar to Google Docs or Notion). The system must support concurrent editing with conflict resolution, real-time presence indicators, and a local-first architecture for offline resilience. Explain your choice of conflict resolution strategy (OT vs CRDT) and how you ensure 60fps rendering in a document with thousands of elements.
CRDT
WebSockets
IndexedDB
React
Yjs
Web Workers
Virtualization
March 29, 2026