The Desi Architect
Notes / Design Interview Problems / Design Google Docs (Collaborative Real-Time Editing)
Track 5 · Design Interview Problems

Design Google Docs (Collaborative Real-Time Editing)

Real-time concurrent document editing like Google Docs and Notion. Operational Transformation (OT) vs CRDTs, offline sync convergence, and stateful document sessions.

Interview problem25 min read1 interactive
On this page
  1. Problem framing
  2. Questions I ask before drawing anything
  3. Requirements
  4. Estimation
  5. API design
  6. Database schema
  7. The two mathematical engines: OT vs CRDT
  8. Interactive collaborative sync simulator
  9. Evolutionary architecture: v1 MVP to v2 Distributed scale
  10. System architecture deep dives
  11. Edge cases and failure recovery
  12. Cross-questions interviewers will ask
  13. Interview Rubric: Mid-Level vs Senior / Staff