Problem Statement: A Multi-Tenant Work Graph, Not a To-Do List
Frames Asana as a real-time, multi-tenant work graph platform where tasks are multi-homed, views are projections, and sync correctness is the product.
Problem statement
Design a work-management platform in the shape of Asana: organizations contain teams, teams contain projects, projects contain tasks, and tasks can simultaneously belong to multiple projects, carry subtasks, dependencies, custom fields, assignees, due dates, comments, and attachments. Every member sees the same work update within moments on every device, through list, board, timeline, calendar, and dashboard views. The product also includes personal my-tasks, reporting portfolios, workflow automation, and integrations with Slack, email, calendars, and developer tools.
This is not a CRUD app with a tasks table. Three properties force a real architecture. First, the data is a graph, not rows: tasks reference projects many-to-many, subtasks form trees, dependencies form directed acyclic graphs, and custom fields are tenant-defined schema layered over the core model. Second, the system is read-view dominated: one task mutation must be projected into every open list, board, timeline, search index, report, notification inbox, and integration webhook that subscribes to it. Third, correctness is user-visible: a lost task, a silently overwritten due date, or two teammates seeing different assignees destroys trust faster than an outage does.
The distinctive engineering core
A messaging backend can lose a typing indicator. A work graph cannot lose the fact that a task moved from In Review to Done. The design therefore separates the durable work graph (tasks, projects, memberships, field values, dependencies, custody of state transitions) from the ephemeral collaboration layer (presence, cursors, typing, live view projections). The work graph is strongly consistent per organization shard and versioned so concurrent edits merge deterministically. The collaboration layer is eventually consistent, freshness-labeled, and cheap to drop under pressure.
Asana itself publicly describes a journey from an early PHP monolith to a Java service architecture, a long-running investment in real-time sync, and a data model in which a task can live in multiple projects at once. That multi-homing decision is the single best tell that a candidate understands this product: it changes storage, permissions, fan-out, and deletion semantics everywhere downstream.
The four architectural planes
- Work-graph plane: durable source of truth for tasks, projects, sections, memberships, custom fields, dependencies, and state transitions, sharded by organization.
- Sync plane: change log, version vectors, WebSocket gateway, subscription matching, and delta delivery to every device and view.
- Collaboration plane: comments, mentions, attachments, notifications, activity feed, presence, and read receipts.
- Intelligence plane: search, reporting portfolios, critical path, workload, automation rules, and integration webhooks.
A strong answer keeps these planes separate: the collaboration plane may degrade without corrupting the work graph, and the intelligence plane may lag without blocking an edit.
Scale context
Asana reported roughly 150,000 paying customers and millions of active users in its fiscal 2024 disclosures, with enterprise organizations running tens of thousands of members in a single workspace. For capacity planning this answer assumes a mature platform with 25M registered users, 8M monthly active users, 2M weekday daily active users, and 250,000 organizations, all explicitly labeled as design assumptions unless tied to a named public source.
Key Highlights
- •The core object is a multi-tenant work graph, not a task table; tasks are multi-homed across projects.
- •One mutation fans out into views, search, reports, notifications, and webhooks; fan-out is the dominant workload.
- •Durable work graph is strongly consistent per org shard; presence and live projections are eventually consistent.
- •Four planes: work graph, sync, collaboration, intelligence.
- •Assumed mature scale: 25M registered, 2M weekday DAU, 250K orgs, all labeled design assumptions.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "I will separate durable work-graph correctness from ephemeral view freshness before choosing any storage."
- "Let me enumerate the actors first, because a PM, an IC, an admin, and an integration each need different consistency and permission semantics."