Writing RFCs and design docs
An RFC is a machine for getting a technical decision made across teams: the problem, the options argued fairly, a named decider, a date, and a record of why
An RFC affecting three teams has 40 comments after two weeks and no decision. Which missing element most often explains this?
At staff level, writing is how you lead. You do not manage the teams whose systems you are changing, and you cannot instruct them. What you can do is put a problem and a proposal in front of them in a form they can check, argue with and agree to, and then hold the process that ends in a decision. That document has several names. Google calls it a design doc. Rust, Uber and Squarespace call it an RFC, a request for comments. Oxide calls it an RFD, a request for discussion. Michael Nygard’s architecture decision record, ADR, is a smaller and later thing: the record of one decision once it is made.
This chapter is about writing the proposal so it is read, and running the review so it ends. The format matters less than you think. The process matters more.
What the document is for
An RFC does four jobs, in order.
It makes you think. Writing the alternatives down is where you find that your favourite one has a hole. Half the value of an RFC is spent before anyone else reads it. If you draft it and change your mind, the document worked.
It gets a decision made. A design is a proposal. A decision is a commitment by named people to build it, fund it and not undo it next quarter. The RFC is the mechanism that converts one into the other, and the parts of the template that do that work, approvers, a date, a decision log, are the parts most often left blank.
It aligns the people affected before they are affected. Teams that learn about a change in review are reviewers. Teams that learn about it in production are opponents. Gergely Orosz, describing Uber’s process, puts it plainly: “Writing and sharing that writing with others creates accountability.”
It records why. Nygard’s motivation for ADRs is that “One of the hardest things to track during the life of a project is the motivation behind certain decisions.” Without the record, the engineer who inherits the system in two years either keeps a decision they do not understand or reverses one they do not understand. An RFC with its decision log is that record.
A product requirements document sits upstream. The PRD says what problem the product will solve and what done means; the RFC says how the system will do it, and which technical trade-offs that costs. HashiCorp’s public RFC template has a header field for exactly this link: “PRD: Link to PRD if applicable.” When the work is purely technical, a migration or a scaling fix, the RFC carries its own problem section and there is no PRD.
When to write one, and when not to
Malte Ubl, describing Google’s practice, is blunt: “Writing design docs is overhead.” The test he offers is whether the problem has real alternatives. “A clear indicator that a doc might not be necessary are design docs that are really implementation manuals.” If there is one sensible way to do the thing, write the code and a good pull-request description.
The Rust project draws the line at “substantial” changes, with examples such as “Any semantic or syntactic change to the language that is not a bugfix”, and routes smaller library additions through a lighter API change proposal. Most companies need a similar line written down, because without one engineers either write an RFC for everything or for nothing. A rule of thumb:
| The change | What to write |
|---|---|
| Inside one team, reversible in a day | Nothing beyond the pull request |
| Inside one team, a real choice between options | A mini design doc, one to three pages, reviewed by the team |
| Crosses team boundaries, changes a shared interface, or touches money, personal data or the on-call load of another team | A full RFC with named approvers |
| Hard to reverse: a new datastore, a vendor on the critical path, a public API | A full RFC, and an ADR once decided |
The last row is Jeff Bezos’s one-way door. The architecture governance chapter covers how a head of engineering decides which of those decisions reach them; your job is to write the document that goes there.
Timing matters as much as size. RFD 1, Oxide’s description of its own process, quotes the original IETF RFC 3: “Notes are encouraged to be timely rather than polished.” An RFC written after the code is a justification, and reviewers can tell. Write the first draft when you still believe two options are viable.
The anatomy
Ubl’s list of sections is the common model, and the template in the Artefact below adapts it. Each section exists to answer a question a reviewer will otherwise ask in a comment.
- Header. Title, authors, status, approvers, reviewers, decision date, links to the PRD and earlier RFCs. Squarespace’s template lists each approver with their answer and the date they gave it.
- Summary. Five sentences: the problem, the proposal, what it costs, what it rules out, and the decision you are asking for. Most readers stop here.
- Context and scope. What exists today, with numbers. Ubl warns this is not a requirements document; it is the background a newcomer needs. HashiCorp’s guidance for the same section is “at least two paragraphs and can take up to a whole page”.
- Goals and non-goals. Non-goals are the things a reasonable reader might assume are in scope. They are your defence against the comment that asks why the design does not also fix the neighbouring problem.
- Proposal. The design: a context diagram, the interfaces that change, data and storage, the rollout and the rollback. Code only where the algorithm is the point.
- Alternatives considered. At least two, including doing nothing, each argued as its advocate would argue it, with the reason you did not choose it.
- Cross-cutting concerns. Security, privacy, observability, cost, and the on-call impact on every team affected.
- Risks and open questions. Numbered, each with an owner.
- Decision log. Empty until the review ends. Then: the decision, who made it, the conditions attached, and the date.
Length follows the decision. Ubl puts the sweet spot for a large project at “around 10-20ish pages”, and a mini design doc at one to three. Nygard holds ADRs to “one or two pages”. If your RFC is longer than twenty pages, it is usually two RFCs.
Writing it so it gets read
Put the ask first. The first paragraph says what decision you need, from whom, by when. Reviewers who know what they are deciding read differently from reviewers who think they are being informed.
Measure, do not assert. “The batch will not fit the window by spring” is an opinion. “The batch took a median of 220 minutes over the last 30 nights, the window is 300, and the input grows 6% a month” is a fact anyone can check, and it ends an argument before it starts. When the key number does not exist, run a spike with a deadline and put its result in the document. A load test, a query plan, a prototype against a copy of production data: the query planner chapter is the kind of evidence a database RFC needs.
Argue the alternatives fairly. The alternatives section is where reviewers decide whether to trust you. If the people who prefer option B read your description of it and do not recognise their own argument, they will spend the review restating it, and they will be right to. Write it so they would sign it. Then say why you chose differently.
Name the trade-off. Ubl calls the design doc “the place to write down the trade-offs”. Every real design gives something up: latency for consistency, speed of delivery for reversibility, one team’s convenience for another’s. Say what yours gives up. A design with no stated cost reads as a design whose cost the author has not found.
Write the rollback before the rollout. For anything touching data, the question reviewers care about most is how you get back. A feature flag per tenant, a dual-write period, the old path kept warm for a named number of weeks. The idempotency lesson is the mechanism that makes a rerun safe; say in the RFC which operations are idempotent and which are not.
Socialise before you circulate. Before the document goes to the wide list, walk the lead of every affected team through it one to one. You will hear the objection while it is cheap to change the design, and nobody will meet the proposal for the first time in a public thread. This is the single habit that most separates RFCs that pass from RFCs that stall.
Running the review
The review is a process with an end, and you own it. Four elements make it end.
Named approvers. Approvers are the people whose yes starts the work, usually the leads of the teams that will build or run it, and sometimes a principal engineer or a security lead. Everyone else is a reviewer whose comments are welcome but not blocking. Reilly’s write-up of Squarespace’s process states the rule: “if the approvers don’t say yes, we won’t start implementing.” Three approvers is plenty. Ten is a committee.
A comment window. Oxide suggests about “3-5 business days to comment on your RFD before merging”. Rust’s final comment period “lasts ten calendar days, so that it is open for at least 5 business days”, and is advertised widely so that nobody can say they missed it. Pick a window, put the date in the header, and keep to it.
Comments that say whether they block. Ask reviewers to mark comments as blocking or not. Squarespace went further and asked approvers to answer “yes” or “not yet”, never “no”, and to attach the condition: “Yes, if you can show that each iteration was a useable milestone.” A conditional yes tells you what to do and lets you proceed without another round.
A decision recorded in the document. Once approvers have answered, write the decision, its conditions and the date in the decision log and change the status. If the decision is “not now”, say so. Rust closes some RFCs as postponed: worth considering, not worth doing yet. That is an outcome, and it is better than an RFC left open for a year.
When the thread circles, the same objection restated by the same people with no new facts, the document has done what writing can do. Move to a short meeting. Squarespace’s Architecture Review spent about fifty minutes in discussion and then ten minutes in which each attendee stated their position, aiming at rough consensus rather than unanimity. The meeting is not a replacement for the RFC: the pre-read is the RFC, and the outcome goes back into it the same day.
Be careful with your own weight. A staff engineer’s comment carries more force than its content earns, and a staff engineer’s RFC can feel unreviewable to a mid-level engineer on an affected team. Ask for disagreement explicitly, in the one-to-ones and in the document. When you are a reviewer, ask questions rather than redesigning; the author owns the design. Staff philosophies covers leading without authority more generally.
Where practitioners disagree
| Question | One camp | The other camp |
|---|---|---|
| Where does the RFC live? | In git, reviewed as a pull request, as Oxide and Rust do: versioned, searchable, next to the code | In a shared document editor: easier inline comments, readable by product, legal and support |
| Decide in writing or in a meeting? | Writing: asynchronous, inclusive across time zones, leaves a record | Meetings: faster on contentious calls, surface tone and conviction |
| Gate or advice? | Approval by a review group before work starts | The advice process: the author decides after seeking advice, as the head of engineering chapter describes |
| Template weight | An opinionated template with mandatory sections, as Uber and Squarespace built | A light template, so small changes still get written down |
| Edit when the design changes? | Keep the RFC current through the build, as Ubl recommends | Leave the record; write a new ADR that supersedes the old decision, as Nygard does |
Most organisations end up in the middle: writing by default, a meeting when the thread circles, the advice process for most decisions and named approvers for the one-way doors.
After the decision
An accepted RFC is a decision, not a schedule. Rust’s process is explicit that acceptance “implies nothing about what priority is assigned to its implementation”. If the work needs headcount, the RFC goes into the planning process with the decision attached, and the engineering manager’s planning chapter, delivery and planning, is where it competes.
Record the decision where people will look for it. For a one-way door, write an ADR, a page with context, decision, status and consequences, and link it from the RFC. When the design changes during the build, update the RFC or write an amendment; when a decision is reversed later, Nygard’s rule applies: keep the old record and mark it superseded.
Then come back. Ubl suggests rereading your design doc a year or two later to see what you got right and wrong. It is the cheapest calibration a staff engineer can get. And when you have written several RFCs in one area, look for the pattern across them. Will Larson’s advice for staff engineers is “To write an engineering strategy, write five design documents, and pull the similarities out.” That synthesis is the subject of technical strategy.
Where RFCs go wrong
Written after the decision. The code exists, the RFC justifies it, and every comment is an attack on finished work. Reviewers stop engaging. If the decision is already made, write an ADR and say so honestly.
No decider. Sixty comments and no approver. The fix is in the header, not the design.
Straw-man alternatives. Option B described as nobody who holds it would describe it. Its advocates spend the review defending it, and they are right to.
The ambush. An affected team sees the proposal for the first time in the wide review. They will block it, and the block is reasonable: they were not asked.
The author defends every comment. An author who replies to every comment with a counter-argument teaches reviewers that commenting is pointless. Thank, absorb, and change the document; answer in a reply only when the comment rests on a misunderstanding.
Review by everyone. Sent to two hundred engineers with no named approvers, the RFC collects opinions from people who will never run the system. Orosz warns that “The noise levels will definitely increase” as more plans circulate; Uber’s distribution moved from an email to every engineer to mailing lists per domain. Name your approvers and your audience separately.
Day to day
When you are writing one, two to three weeks. Days one to three: the problem and the numbers, including any spike. Days four to six: the first full draft, shared with one or two collaborators who know the system. Week two: one-to-one walkthroughs with each affected team lead, thirty minutes each, then revision. Week three: wide circulation with a comment window of five business days, replies within a day, and either a decision by the approvers or a decision meeting at the end of the window. The decision log and status are updated the day the decision is made.
Every week, as a reviewer. You read the RFCs in flight in your area, usually in two blocks of an hour, and comment on the few points where your view changes the outcome: failure modes, rollback, the interface other teams will depend on, the cost no one has priced. You label each comment blocking or not.
Every week or fortnight, the forum. Many organisations run an architecture review or advisory forum where RFCs are presented. Staff engineers often run it. Your job there is to keep the meeting about the decisions in front of it and to make sure each one leaves with an owner and a date.
Every month, coaching. You help a senior engineer write their first cross-team RFC. You review the draft before anyone else does, ask what the alternatives are, and let them run the review. The PM track’s chapter on working with engineering shows how a product manager reads the same document, which is worth having them read too.
Every quarter, the backlog. You look at RFCs that have been open more than a month and close them: decided, postponed or abandoned. An RFC index with a status column, kept by whoever runs the forum, is enough.
There is no RFC process and there should not be much of one. The CTO and two senior engineers decide most things at a whiteboard. Write a one-to-three-page design doc for anything hard to reverse: the primary database, the payments provider, the tenancy model. The approver is the CTO; the review is a conversation. The document’s value is that the decision survives the engineer who made it, and that the next hire can read why. A folder of ten ADRs in the repository is the whole system.
This is where the process is built, and often where a staff engineer builds it. Teams now make decisions that collide, and nobody has read everyone’s designs. Write the template, the rule for when an RFC is needed, and the convention for approvers and comment windows, and get three teams to use it before you announce it. Run a fortnightly forum. The risk is the opposite of the startup’s: a process copied from a large company that makes every change wait two weeks.
The process exists, with tooling, an index and an architecture review group. Your problem is that RFCs get written to pass the review rather than to solve the problem, and that a decision touching twelve teams has twenty stakeholders. Pre-socialisation becomes most of the work. Separate approvers from the audience ruthlessly, keep the review window fixed, and push for a light path for small decisions, because otherwise teams stop writing anything down.
Template
# RFC-<n>: <title>
Authors: <names> · Status: draft | in review | decided | postponed | abandoned
Approvers: <name — yes / yes, if / not yet — date> (three or fewer)
Reviewers: <teams and people asked for comments>
Comment window closes: <date> · Decision by: <date>
Links: <PRD> · <earlier RFCs and ADRs>
## Summary
<Five sentences: the problem, the proposal, what it costs, what it rules out, the decision asked for.>
## Context and scope
<What exists today, with numbers and where they came from. What breaks, and when.>
## Goals
- <outcome>
## Non-goals
- <thing a reviewer will assume is in scope> — <why not; where it goes instead>
## Proposal
<Design overview, context diagram, interfaces that change, data and storage.>
### Rollout
<Steps, flags, who is affected at each step.>
### Rollback
<How you get back from each step; what happens if a step fails halfway.>
## Alternatives considered
### Do nothing
<What happens, and when.>
### <Option B>
<Argued as its advocate would. Why not chosen.>
## Trade-offs
<What this proposal gives up.>
## Cross-cutting concerns
Security · Privacy · Observability · Cost · On-call impact per team
## Risks and open questions
| # | Question | Owner | By |
|---|---|---|---|
## Decision log
| Date | Decision | By | Conditions |
|---|---|---|---| WORKED EXAMPLE
Galangal is a fictional core banking SaaS vendor: 300 people, 120 engineers in 16 teams, selling to 85 microfinance banks in six countries. Nnamdi, a staff engineer working with the ledger team, wrote this.
RFC-112: Partitioned end-of-day processing. Approvers: Obiageli (engineering manager, ledger), Rotimi (principal engineer). Comment window closes 20 November; decision by 24 November.
Summary. The end-of-day (EOD) batch for our largest bank will overrun its five-hour window in about five months. We propose splitting EOD into eight partitions by account id, run in parallel with per-partition checkpoints. Two engineers, eight weeks. It rules out real-time accrual for now. We ask the approvers to accept or reject by 24 November.
Context. EOD (interest accrual, repayment schedules) runs per bank between 00:30 and 05:30 local time: 300 minutes. The largest bank has 1.2 million loan accounts; its EOD took a median of 220 minutes over the last 30 nights. Accounts have grown 6% a month for six months. At that rate 220 minutes reaches 300 in about 5.3 months.
Non-goals. Real-time accrual on every posting. Changing how interest is calculated.
Proposal. Each account belongs to exactly one partition, so per-account ordering, accrual before repayment, is preserved. Each partition checkpoints every 10,000 accounts; a failed partition reruns from its checkpoint, and accrual postings carry an idempotency key per account and date. A spike against a restored copy of the bank’s data ran in 41 minutes, not the 28 that eight-way parallelism would suggest, because of write contention on the ledger. At 6% monthly growth that lasts about 34 months. Rollout: a flag per bank, smallest banks first. Rollback: the single-threaded path stays deployable for two months. Alert when any bank’s EOD passes 210 minutes, 70% of the window.
Alternatives. Do nothing: the window is breached around April. A larger database instance: tested at 190 minutes for US$3,800 a month more; it buys about two and a half extra months, because the batch is single-threaded and CPU is not the bottleneck. Real-time accrual: removes the batch, but changes the interest basis that auditors in six countries have signed off; two to three quarters. It deserves its own RFC.
Trade-offs. Eight concurrent writers make EOD failures harder to read. We add a per-partition dashboard and accept the complexity.
Decision log. 24 November: accepted. Obiageli: yes. Rotimi: yes, if the rerun of a single partition is tested in staging against a forced failure before the first bank is switched.
Now you
You are a staff engineer at Caraway, a fictional fleet telematics company: 130 people, 45 engineers in six teams, selling vehicle tracking to logistics companies. 38,000 trackers send a location ping every 30 seconds, about 1,270 messages a second, into a single self-hosted MQTT broker on one virtual machine. It fell over twice last quarter, and each time about 40 minutes of location data was lost. The largest customer, a cold-chain carrier that also streams temperature readings through the broker, is up for renewal. Themba, the CTO, wants a decision in three weeks. Mumbua, who manages the device platform team, will own whatever is built. Elena, the firmware lead, tells you devices can be updated over the air at most 2,000 a night, so moving every tracker to a new endpoint takes 19 nights. The data team has asked to rebuild the storage layer at the same time. Write the RFC: name the approvers, argue at least a managed broker, a clustered self-hosted broker and doing nothing, deal with the storage request, and plan a rollback that respects the 19 nights.
Self-check
You are a staff engineer at Galangal, a 300-person core banking SaaS vendor. An RFC for a new loan-repayment scheduling component has been in review for three weeks with 41 comments. The ledger team, led by Obiageli, wants it inside the ledger service; the lending team's tech lead wants a separate service. The last ten comments restate the same two positions with no new facts. A bank go-live in six weeks depends on the decision. The VP of engineering asks you how to finish it. What do you do?
- POST Design Docs at Google Malte Ubl, 2020
The common model: sections, length, the lifecycle from draft to maintenance, and the test for when a design doc is overhead. Read it before writing your template.
- DOC RFD 1: Requests for Discussion Jess Frazelle and Bryan Cantrill
Oxide's process in its own words: six states from prediscussion to abandoned, RFDs in git as pull requests, and the case for writing early and rough.
- DOC The Rust RFC process The Rust project
An open-source process with a precise definition of a substantial change, a ten-day final comment period, and postponed as a legitimate outcome. Read the section on what acceptance does not mean.
- POST The Power of 'Yes, if': Iterating on our RFC Process Tanya Reilly, 2019
A principal engineer's account of fixing an RFC process that stalled: named approvers, an architecture review meeting with a fixed shape, and conditional approval. The closest thing to this chapter's Decide.
- POST Scaling Engineering Teams via RFCs: Writing Things Down Gergely Orosz, 2018
How Uber's RFC process worked as it grew, the templates built from reviewers' repeated questions, and what happened to the noise. Read it before designing your own distribution lists.
- POST Documenting Architecture Decisions Michael Nygard, 2011
The original ADR: five sections, one or two pages, in the repository, superseded rather than edited. The record your RFC leaves behind.
- HANDBOOK RFC Template HashiCorp
A public company template with overview, background, proposal and abandoned ideas, and a header that links the RFC to its PRD. A good starting point to cut down.
- POST Writing an engineering strategy Will Larson, 2023
Why a staff engineer's strategy starts as five design documents. Read it after your third RFC in the same area.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.