Productivity · Collaborative documents
Google Docs-style app
Illustrative system design for a collaborative documents app like Google Docs: 6 topics to read, from requirements to deep dives.
Every keystroke is a write.
Illustrative design, not Google Docs’s actual implementation. Arrowbox is not affiliated with Google Docs’s owner. Disclaimer
Start with Rich text Sign in to start readingUpdated 2 Oct 2026
Editor
A document model under contenteditable: marks, selection, paste and a 200-page doc.
Threads anchored to text ranges, suggesting mode, and anchors that survive edits.
Sync
The client side of OT: pending ops, acks, rebasing remote edits, and carets that stay put.
Keep typing on a train: a durable local op queue, merge on reconnect, and honest conflict UI.
Sharing and history
Browse named and automatic versions, see who changed what, restore without losing anything.
Invite people, set roles and link access, and have the open editor react when a role changes.