Software Engineering RFC and Design Doc Examples and Templates
What companies follow an RFC-like process, and what are templates and examples to get inspiration from?
đ Hi, this is Gergely with a free issue of the Pragmatic Engineer Newsletter. If youâre not a full subscriber yet, you missed 20 Years of Software Engineering with Malte Ubl and the one Twitter rolling out Agile. Subscribe to get this newsletter every week đ
RFCs - requests for comment - also called Design Docs are a common tool that engineering teams use to build software faster, by clarifying assumptions and circulating plans earlier. There are some similarities between writing automated tests for your code, and writing RFCs before you start working on a non-trivial project:
Most of these documents are internal to companies. Itâs common for engineers moving from one company to the other to bring structures that worked at their previous company.
This article collects some openly available RFC templates and examples, and a list of companies that use such a process. Iâd encourage to use these examples for inspiration. Take parts that resonate with you, experiment with them and modify them to your needs.
For a more detailed article on successful planning approaches software engineering teams use, read this weekâs subscriber-only article đ Engineering Planning with RFCs, Design Document and ADRs.
As a note, Product Requirement Documents (PRDs) are commonly run side by side with an engineering design document. This is because if product managers donât specify what theyâd like the team to build, itâs likely the company doesnât have a writing culture.
See a collection of PRD templates collected by Lenny Rachitsky, the author of Lennyâs Newsletter - the most popular publication for product managers.
As a note, this post is too long to fit in an email. Read online for the full article:
Companies that use RFCs or Design Docs
I asked for examples on what companies use RFCs. I expected some response, but the number of responses was surprising:
From the thread, and from talking with engineers at companies, these some of the better-known companies all use RFCs or Design Docs within engineering:
Airbnb. âWe write specs and design docs for both Product and Engineering.â - Manish Maheshwari
Affirm
Algolia - âweâve found RFCs to be super valuableâ - Praagya Joshi
Amazon. The format is different, called PR/FAQs/working backwards documents. More details in Inside Amazonâs Engineering Culture. Some orgs follow this process religiously.
AutoScout24
Atlassian
Blue Apron. Also have a weekly architecture lab. Details.
Bitrise - also using it for non-technical proposals
Booking.com. Details.
Brex. Details.
BrowserStack - âhelps work out all the things that are needed from costs/privacy/compliance as well as trying to figure the best way to implement.â
Canonical
Caroussel
Cazoo
Cisco - at least some teams
Coinbase
Comcast Cable - using ADRs.
Container Solutions
Contentful
Couchbase
Crierio. They are called kick-offs.
Curve
Daimler
Delivery Hero
Dune Analytics - with an example
eBay
Ecosia (an environment-conscious search engine). Details
Elastic
Gojek. âWe should have done this much earlierâ - quote from their former SVP Engineering
Glovo. âRFCs for engineering design proposals. We also have ADRs in our code repositories for documenting architectural designs.â - source
Faire
Flexport
GoodNotes: Hudl. âWe do Implementation Plans before starting any medium-large size project, sharing how engineers plan to tackle it.â - Juanjo Ramos
Google
Gradana Labs
GrubHub
HashiCorp
Hudl. âFor non-trivial projects and technical decisions impacting multiple teams.â - Juanjo Ramos
Indeed
Interncom
LinkedIn. "A strong culture of writing RFCs and doing RFC reviews.â
Kiwi.com
MasterCard
Mews (hospitality system).
Monzo.
Mollie
N26.
Netfify.
Nobl9 (SLO management)
Nubank
Oscar Health. âTheyâre a requirement for any large projectâ
Octuopus Deploy. âI find itâs net positive when I look across the different scenarios Iâve looked up docs to better understand rather than booking a meeting.â - Colin Bowern
OLX
Onfido
Peloton. âA design docs culture that has swung back and forth between centralized to decentralized over time. We've taken up ADRs in the last year that focus on âdecisionsâ with âdesign docsâ usually being longer form, often supplementing an ADR.â - he Head of Core Engineering at Peloton
Picnic
PlanGrid (acquired by Autodesk)
Razorpay
Reddit.
SAP. âHad a process for Architecture Concept and Design documents.â
Salesforce
Shopify
Siemens.
Spotify. âRFCs and ADRs are at this point pretty deeply embedded part of the culture. Also sometimes used for non-technical changes such as re-orgs.â - Marcus FrodinÂ
Square
Stripe. Details on their writing culture.
Synopsys. âWhen I was VP of Engineering , we had requirements spec (CAE), project spec (R&D) and sometimes implementation spec (R&D). All changes after code freeze went through an ECR process. All had review by cross functional teams ( Marketing, CAE, RnD).â - Steve Meier
Skyscanner
SourceGraph (~200 engineers)
Spofify
STEDI (~80 engineers, Series C)
Stream (chat API, ~60 engineers). Details
SumUp
Thumbtack
TomTom
TrueBill
Trustpilot
Twitter
Uber
VanMoof (electric bicycles). âteams choose based on their preference and use case between the RFC template (in Confluence) or the KDD template (in Git engineering handbook)â - Alexander PapageorgiouÂ
Virta Health (Series E)
VMWare
Wayfair
Wave (money management)
Wise. Using more ADRs.
WarnerMesia / HBO / Waner Bros Discovery
Zalando.
Zapier. âHelps in outling scope and surfacing issues before you start working on it.â
Early-stage companies where Iâm an investor in:
Incident.io (incident management, ~10 engineers).
Invact Metaversity (education, ~5 engineers.
mobile.dev (mobile tooling, ~8 engineers)
For more examples, see responses in this Twitter thread.
RFC Examples and Templates
Google. Design Docs overview. Typical structure:
Context and scope
Goals and non-goals
The actual design
System-context diagram
APIs
Data storage
Code and pseudo-code
Degree of constraint
Alternatives considered
Cross-cutting concerns
Uber. RFC process overview (used up to around 2019).
Typical structure for services:
List of approvers
Abstract (what is the project about?)
Architecture changes
Service SLAs
Service dependencies
Load & performance testing
Multi data-center concerns
Security considerations
Testing & rollout
Metrics & monitoring
Customer support considerations
Typical structure for mobile:
Abstract (what is the project about?)
UI & UX
Architecture changes
Network interactions detailed
Library dependencies
Security concerns
Testing & rollout
Analytics
Customer support considerations
Accessibility
Sourcegraph. RFC process overview and list of all public RFCs. An example document: Explicit Repository Permissions Model.
Typical document structure:
Summary
Background
Problem
Proposal
Definition of success
This post is too long to fit in an email. Continue reading online for more examples: