Design a Collaborative Database / Spreadsheet Platform

Problem

Design Airtable's core: a collaborative database-spreadsheet hybrid with views, formulas, and real-time edits.

Requirements

Functional:

  • Tables with typed columns, formulas, and views
  • Real-time collaborative editing
  • Filtered/sorted views over large tables
  • Recompute formulas on change

Non-functional:

  • Large bases, many collaborators
  • Fast view rendering (virtualization)
  • Real-time sync

Discussion points

  1. Storage model for typed records + formulas
  2. Dependency graph for recomputation
  3. Real-time sync (OT/CRDT)
  4. View materialization and virtualization for huge grids
  5. Permissions and multi-tenancy
added …
LeaderboardSalaryAccount