Design Jira
Understanding the Problem
📋 What is Jira? Jira is an issue tracker for teams. Work is broken into issues (bugs, tasks, stories), each with a status, an assignee and a set of fields that teams can customize. Issues move through a workflow (To Do → In Progress → Done), teams see them on kanban boards where cards are dragged between columns, and people discuss them in comments, mentioning teammates who get notified.
You'll also hear "design Trello." Trello is a simpler version of the same thing: boards of lists of cards, with drag-and-drop ordering, comments and mentions, but without Jira's custom workflows and query language. The parts that make either question interesting are the same: ordering cards that people drag around concurrently, comments that fan out notifications, and a multi-tenant data model that has to serve tiny teams and huge enterprises. We'll design Jira and point out where Trello is simpler.
Functional Requirements
Core Requirements
- Users should be able to create issues in a project and update their fields (status, assignee, priority, description, custom fields).
- Users should be able to view a kanban board and drag cards between columns and up and down within a column.
- Users should be able to comment on issues and @mention teammates, who get notified.
- Users should be able to search and filter issues by any field.
Below the line (out of scope)
- Sprints, velocity charts and reports.
- Fine-grained permission schemes (we'll assume project-level access checks).
- Attachments, integrations and webhooks (see
/system-design/webhooks).
Non-Functional Requirements
Ask your interviewer about scale. For our design: a multi-tenant SaaS product with 200,000 customer organizations, 50M users and 10M daily active. Most tenants have thousands of issues; the largest have tens of millions.
Core Requirements
- Loading a board of up to a few thousand cards should take under ~500 ms.
- Changes should appear for other people viewing the same board or issue within a couple of seconds.
- Issue updates must not silently overwrite each other. Two people editing the same issue should both get a sensible outcome.
- Mentions must reliably notify the right people, exactly once, without spamming them.
- One huge tenant must not degrade the service for everyone else.
Below the line (out of scope)
- Multi-region active-active writes. Each tenant has a home region.
Back of the envelope. If each daily user loads ~50 pages (boards, issues, searches) and makes ~10 changes a day, that's 500M reads and 100M writes per day: about 6,000 reads per second and 1,200 writes per second on average, maybe 3–4× that at peak during working hours. Spread across 200,000 tenants, this is modest. A handful of well-sharded Postgres clusters can handle it.
The insight: Jira isn't hard because of raw QPS. It's hard because of shape. Every tenant defines its own fields and workflows, a board is really a saved query, users reorder cards by hand and expect the order to stick, and one comment can notify a dozen people through several channels. Spend your time on the data model, ordering, notifications and tenant isolation, not on handling millions of writes per second.