Design Real-Time Collaborative Editing for Shared Bases

Last updated: November 29, 2026

Quick Overview

Design the backend that lets dozens of collaborators edit the same base at once, see each other's changes within a second, and never lose or corrupt data, including when clients go offline briefly or a server holding the base fails.

Airtable
System Design
Software Engineer
Airtable
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the backend that lets dozens of collaborators edit the same base at once, see each other's changes within a second, and never lose or corrupt data, including when clients go offline briefly or a server holding the base fails.

This is close to the heart of Airtable's architecture, where each base is loaded into memory on a dedicated worker and edits are applied there. Interviewers want to see how you serialize writes per base, fan changes out to clients, recover from failures, and where you would push back on stronger guarantees.

What the Interviewer Expects
  • Choose a unit of ownership (one base per worker) and justify it
  • Define the transaction log and how clients acknowledge and rebase
  • Explain conflict handling at the cell level
  • Cover reconnect with a cursor and missed-change replay
  • Discuss failover, snapshotting and hot-base limits
Key Topics to Cover
Single-writer per shard
Write-ahead log
WebSocket fan-out
Optimistic UI
Failover
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • What happens when one base grows to millions of records and its worker runs out of memory?
  • How would you support an undo that only reverts my own changes?
  • How do you route a request to the right worker after a failover?
  • Where would operational transforms or CRDTs be worth their cost here?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: cell, record and schema edits from many clients; changes visible to others in under a second; offline buffering for short disconnects; per-user undo. Non-functional: no lost acknowledged w...

High-Level Design

Clients hold WebSockets to a stateless gateway that authenticates and routes by base id. A placement service maps each base to one worker that holds the base fully in memory and is the single writer. ...


Submit Your Answer
Markdown supported

Related Questions