PrepCity

Design Google Docs

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 10 pages · about 9 min

Design Google Docs

Many people typing in one document: small edits over open connections, a log of edits with snapshots instead of a write per keystroke, and one order everyone agrees on.

Words you’ll learn

  • Busiest hour
  • Capacity
  • WebSocket
  • Server
  • Snapshot
  • Write-ahead log
  • PostgreSQL
  • Database
  • Millisecond
  • Kafka

Page by page