Dashboard
Courses
Problems
Badges
Theme
Sign inStart free
Courses/Architecture Leadership
Lesson 5 of 32

Writing design docs and RFCs

Write design documents that get read, reviewed and approved, with a structure that forces clear thinking.

15 min read

Writing is the design

A design doc is not paperwork after the design; writing it is how you discover the gaps in your own thinking. Vague prose hides vague ideas. Google, Uber and many others use design docs or RFCs (requests for comments) for any change that takes more than a couple of engineer-weeks or touches more than one team. The doc lets dozens of people review asynchronously, across time zones, at a fraction of the cost of meetings. A useful threshold: if it needs a migration, a new dependency or a new team interaction, write a doc.

A structure that scales

Keep the core doc to roughly 4-10 pages; push detail into appendices. Readers should be able to stop after the first page and still know what is proposed and why.

  • Summary: three to five sentences, problem and proposed solution
  • Context and goals, plus explicit non-goals
  • Requirements: ranked quality attributes with numbers
  • Proposed design: diagram, data model, APIs, key flows
  • Alternatives considered and why they lost
  • Cross-cutting concerns: security, privacy, observability, cost, migration, rollout
  • Risks and open questions, each with an owner

Non-goals are a superpower

The most valuable section is often the shortest. Non-goals state what this design deliberately does not solve: 'multi-region active-active is out of scope; we will tolerate a 30-minute regional failover.' They stop reviewers from pulling the design towards every adjacent problem, and they record a conscious choice rather than an oversight. A design with no non-goals is usually trying to do too much. Reviewers can still argue a non-goal should be a goal, but now the argument is explicit and happens before code is written. Revisit the non-goals at each milestone; some will graduate into the next phase.

Writing for reviewers

Reviewers have limited attention. Use numbers instead of adjectives, a diagram on page one, and short paragraphs. Write the alternatives section honestly: if the losing options are straw men, experienced reviewers will distrust the whole doc. Put the decisions you most need feedback on in the open questions section, and tell reviewers what kind of review you want (direction check, deep technical review or security sign-off) and by when. Finally, set a comment deadline and resolve or explicitly defer every open comment before you mark the doc approved, so silence is not mistaken for agreement.

Key takeaways

  • Writing the design doc is how you find the gaps; it is not after-the-fact paperwork.
  • Lead with a short summary and a diagram; keep detail in appendices.
  • Explicit non-goals protect the scope and document deliberate omissions.
  • Tell reviewers what feedback you need and by when, and make alternatives genuine.

Sign in to track lessons and earn badges.

Architecture decision recordsRunning design reviews

Coming up

Course: 0/32 lessons · 0/10 challenges0%

Build it on the canvas, pass the review (70+) and mark it complete to count it toward the course badge.

  1. 1/10Design a Polls and Voting AppTurn a loose brief into measurable requirements and a back-of-envelope estimate, then defend a simple design that enforces one vote per user.Easy
  2. 2/10Design a Link Preview Service
Threat-model a service that fetches untrusted URLs and design its SSRF defences across the trust boundary.
Easy
All 10 challenges →