Summary#
Before designing anything, find out three things: what the system must do (functional requirements), how well it must do it (non-functional requirements), and what it will not do (out of scope). Ask a short checklist of clarifying questions covering users, scale, read/write ratio, latency, consistency, geography, devices, retention, budget and compliance. Then pick the top three features and write down your assumptions with numbers. Each requirement should be specific enough to test, and you should know which requirements change the shape of the design rather than just its size. In an interview this takes about five minutes. In a real project it is a living document that is reviewed, owned and revisited. Either way, it is the cheapest point at which to avoid building the wrong system.
Why It Exists#
Problem statements are vague, sometimes on purpose. "Design a chat app" could mean a two-person messenger, a 500-member group chat with search, or a customer-support widget with agent routing, and each needs a different architecture. If you start drawing boxes straight away, you either over-build (features nobody asked for) or miss the one requirement that changes everything, such as "messages must never be lost" or "users are in 50 countries".
Requirements come first because every later decision depends on them:
- The data model depends on the features: what entities exist and how they relate.
- The database choice depends on the access patterns: which queries run, how often, and with what consistency.
- The number of servers depends on scale: users, requests per second, data size.
- The topology (one region or many, sync or async) depends on latency, availability and geography.
- The security controls depend on who the users are and which regulations apply.
You learned in What Is System Design? that functional goals decide features while quality goals decide the architecture. This page shows how to find both.
There is also a well-studied economic reason. Barry Boehm's research on software costs, summarised in Software Engineering Economics (1981), found that a defect in requirements becomes far more expensive to fix the later it is found: cheap during requirements, expensive in testing, and much more expensive in production. The exact ratios vary between studies and are debated, but the direction is not. A wrong data model or a missed consistency need, discovered after launch, can mean a migration that takes months. Fred Brooks made a related point in his 1986 essay "No Silver Bullet": deciding precisely what to build is the hardest single part of building software, and the part that hurts most when it goes wrong.
How It Works#
Requirements fall into two groups, functional and non-functional, plus a boundary that says what is out of scope. They are gathered by asking questions, recorded as testable statements, prioritised, and backed by explicit assumptions.
The loop at the end matters. Estimation often shows that an assumption was wrong ("at that write rate we need sharding; is 100k uploads per second really right?"), and you go back and confirm it.
Functional requirements#
Functional requirements (FRs) describe what the system does: the core actions users (or other systems) can take. Write them as short, user-centred statements:
- "Users should be able to upload a photo with a caption."
- "Users should be able to follow other users."
- "Users should be able to view a feed of recent photos from the people they follow."
Three rules make them useful:
- Name the actor and the action. "The system stores photos" hides who does what. "A user uploads a photo; followers see it in their feed" shows two flows, a write path and a read path.
- Keep the core list short. Pick the top three features that define the product. Every extra feature adds entities, APIs and edge cases, and in a 45-minute interview you cannot design ten features well.
- Write an explicit out-of-scope list. For a photo app, put comments, likes, stories, direct messages, ads and search there. Saying what you are not building is as important as saying what you are. It keeps the design focused, shows judgement, and gives you a ready answer when someone asks "what about comments?" ("out of scope for v1; here is where they would plug in").
Functional requirements also exist for non-human actors: "The billing system receives an event for every completed order" or "Admins can remove a photo within 5 minutes of a report." These are easy to forget and often drive integrations.
Formats you will meet
Real teams write functional requirements in several formats. Knowing them helps you read existing documents and pick the right level of detail.
| Format | Shape | Strength | Weakness |
|---|---|---|---|
| User story | "As a traveller, I want to save a search so that I get price alerts." | Captures who and why; popular in agile teams | Vague about edge cases unless paired with acceptance criteria |
| Use case | A named flow with actor, preconditions, main steps and alternative paths (Ivar Jacobson's method) | Shows error and alternative paths | Heavier to write |
| Acceptance criteria | "Given a logged-in user, when they upload a 5 MB JPEG, then it appears in their profile within 5 s." | Directly testable | Many needed per feature |
| "Shall" statements | "The system shall reject uploads larger than 50 MB." | Precise, traceable; used in formal specs (ISO/IEC/IEEE 29148) | Can become long and legalistic |
A useful structured style is EARS (Easy Approach to Requirements Syntax, Mavin and others at Rolls-Royce, 2009). It gives each requirement a fixed pattern: ubiquitous ("The system shall..."), event-driven ("When X, the system shall..."), state-driven ("While X, ..."), unwanted behaviour ("If X, then the system shall...") and optional feature ("Where X, ..."). The "If X, then..." form is particularly useful for system design, because it forces you to write down failure behaviour: "If the payment provider does not respond within 3 seconds, then the system shall mark the order as pending and retry."
Non-functional requirements#
Non-functional requirements (NFRs, also called quality attributes) describe how well the system does its job:
- Scale: users, requests per second, data volume.
- Latency: how fast responses must be.
- Availability: how much downtime is allowed.
- Consistency: how fresh data must be.
- Durability: whether data can ever be lost.
- Security and privacy.
- Cost.
- Operability: how easy the system is to run.
NFRs must be quantified. "Fast" and "scalable" mean nothing on their own. "Feed loads in under 300 ms at p99" and "99.9% available per month" do mean something.
The SEI's quality attribute scenario (from Bass, Clements and Kazman, Software Architecture in Practice) is a good template for making an NFR concrete. It has six parts:
- Source: who or what causes the event.
- Stimulus: what happens.
- Artifact: which part of the system is affected.
- Environment: the conditions at the time (normal load, peak, degraded).
- Response: what the system does.
- Response measure: a number you can test.
For example: "Under peak load (environment), when 20,000 users per second open the feed (source and stimulus), the feed service (artifact) returns results (response) with p99 latency under 300 ms (measure)."
NFRs drive the architecture far more than features do:
- A strict consistency need pushes you towards a single-leader database and transactions.
- A global latency target pushes you towards a CDN and regional replicas.
- A durability need pushes you towards replicated storage and synchronous acknowledgements.
The full list, and how to map each one to design choices, is in Non-Functional Requirements.
From requirements to access patterns#
The bridge between requirements and design is the list of access patterns: the concrete reads and writes the system performs, with their rates. For each functional requirement, ask what is written, what is read, how often, by whom, and how fresh the data must be.
| Requirement | Access pattern | Rate (assumed) | Freshness |
|---|---|---|---|
| Upload a photo | Write photo bytes and one metadata row | 100 per second at peak | Durable at once |
| Follow a user | Write one edge (follower, followee) | 1,000 per second | Seconds |
| View feed | Read the latest 20 photos from followed users | 50,000 per second | Up to 10 s stale |
| View profile | Read a user and their latest photos | 10,000 per second | Seconds |
This table already hints at the design:
- The system is heavily read-dominated, so caching and precomputation will matter.
- Photo bytes belong in object storage, not the database.
- The feed query, which reads from many followed users, is the hard part. It suggests fan-out on write or read, covered in Design a News Feed.
This is also exactly the input you need for Data Modeling and for estimation.
The clarifying-question checklist#
You do not need every question every time. Pick the ones whose answers could change your design.
| Topic | Question | Why it matters | Example of a design impact |
|---|---|---|---|
| Users | Who uses it: consumers, businesses, internal teams, other services? | Drives features, auth, traffic shape | B2B means tenants, SSO and per-tenant isolation |
| Scale | How many daily active users? Items created per day? Peak events? | Decides one machine vs many, sharding | 10k users fits one Postgres; 500M does not |
| Read/write ratio | Read-heavy (feeds) or write-heavy (logs, metrics, location pings)? | Caches and replicas vs write-optimised storage | 100:1 reads suggests caches; 1:10 suggests LSM stores, queues |
| Latency | What response time do users expect, and for which actions? | Caching, precomputation, CDN, async work | Search-as-you-type needs under 100 ms; reports can take minutes |
| Consistency | Can users see stale data? Is double-booking ever acceptable? | Strong vs eventual consistency | Seats and payments need strong; like counts can lag |
| Geography | One country or global? Where are most users? | Multi-region, CDN, data residency | Global writes force conflict handling or home regions |
| Devices | Web, mobile, IoT, poor networks, offline? | Payload size, push, offline sync | Offline editing implies sync and conflict resolution |
| Retention | How long do we keep data? Can users delete it? | Storage size, archiving, deletion paths | 7-year audit retention means cold storage tiers |
| Budget | Cost limits? Team size? Build or buy? | Managed services vs self-hosted | A 3-person team should not run its own Kafka |
| Compliance | GDPR, HIPAA, PCI DSS, SOC 2? | Encryption, audit logs, where data lives | PCI scope pushes card data to a tokenisation vendor |
Some extra questions are worth asking for specific problem types:
- Feeds, social: Are there celebrity accounts with millions of followers? Is the feed ranked or chronological?
- Booking, payments: What happens if two people try to buy the last item? Are refunds in scope?
- Real-time: How quickly must updates appear: 100 ms, 1 s, 10 s?
- Search: Full-text, filters, typo tolerance? How soon after a write must an item be searchable?
- Data pipelines: Is hourly freshness enough, or do we need streaming? Can we reprocess history?
Prioritising the top three features#
When there are many candidate features, you need a quick, defensible way to choose. Four techniques are common:
- The core-loop test: what is the smallest set of actions without which the product does not exist? For a ride-hailing app: request a ride, match a driver, track the trip. Payments and ratings can be added once the loop works.
- MoSCoW (from the DSDM agile method): label each feature Must have, Should have, Could have, or Won't have this time. Only "Must" items go into the core design.
- The Kano model (Noriaki Kano, 1984) sorts features into basic needs (expected; their absence causes anger), performance needs (more is better) and delighters (unexpected; their absence goes unnoticed). Design for basic needs first, then the performance needs that drive your NFRs.
- Architectural risk first: among the "Must" features, prioritise the ones that are hardest to change later, such as those that shape the data model or consistency. A "like" button is easy to add later; a multi-region write model is not.
In an interview, you rarely need more than the core-loop test plus a sentence: "These three define the product; the rest is out of scope unless you want to explore one."
Writing down assumptions#
When the interviewer or stakeholder does not know an answer, make a sensible assumption, say it out loud, and write it down: "I will assume 10 million daily users and a 100:1 read-to-write ratio." Written assumptions:
- keep everyone aligned on the same picture;
- make your estimates checkable (anyone can redo the maths);
- give you a clean way to revisit the design if an assumption changes ("if it is 100 million users instead, the feed store must be sharded");
- protect you from silent scope creep.
Good assumptions are specific (numbers, not adjectives), plausible (based on similar products or the business plan), and owned (in a real project, someone is responsible for checking each one). Mark the assumptions whose failure would change the design shape. These are the riskiest, and they deserve validation first, through a load test, a prototype or a conversation with the business.
Requirements change, so make them traceable#
In real projects requirements are not frozen. Traffic grows, regulations change and the business pivots. Good practice:
- Keep requirements in a design document (often called an RFC or design doc) that is reviewed and versioned.
- Link each major design decision to the requirement that justified it, ideally in an architecture decision record (ADR). When a requirement changes, you can find every decision that depended on it.
- Revisit NFRs at milestones: before launch, after the first big traffic event, at each annual planning cycle.
Interviews vs real projects#
The same steps apply in both settings, but the time spent and the output differ a lot.
| Aspect | Interview (45-60 min) | Real project |
|---|---|---|
| Time on requirements | About 5 minutes | Days to weeks, revisited at each milestone |
| Who answers | The interviewer, playing every stakeholder | Product, users, ops, security, legal, finance |
| Unknown facts | Assume, state the number, move on | Measure, prototype, or ask the owner |
| Output | A short list on the whiteboard | A reviewed design doc with goals, non-goals and SLOs |
| Change | Rare, prompted by the interviewer | Constant; tracked through ADRs and versions |
| Main risk | Spending too long, or skipping it | Missing a stakeholder or a shape-changing requirement |
In an interview, the goal is to show judgement: you can spot which questions matter, commit to a scope, and continue. In a real project the goal is shared understanding: everyone who will build, run, pay for or audit the system agrees on what it must do before the expensive decisions are made.
A useful middle ground for real projects is a one-page requirements summary at the top of the design doc. It has the top features, the non-goals, the three most important NFRs with numbers, and the risky assumptions with their owners. Reviewers read it first. Most disagreements show up there, while they are still cheap to resolve, rather than in the detailed design sections.
Where requirements sit in a design interview#
In a 45-60 minute interview, requirements are the first of several timed steps. A common structure is:
- Requirements (about 5 minutes): functional, then non-functional, with estimation only if a number would change the design.
- Core entities (about 2 minutes): the nouns the system stores and exchanges.
- API or system interface (about 5 minutes): the calls that implement each functional requirement.
- Data flow (optional, about 5 minutes): for pipeline-style systems, the stages data passes through.
- High-level design (10-15 minutes): boxes and arrows that satisfy every functional requirement.
- Deep dives (about 10 minutes): the places where the non-functional requirements are hard.
The structure matters because the most common way to fail a design interview is not a wrong idea. It is not finishing: running out of time before a working system exists. That failure usually starts in the requirements step, either by spending fifteen minutes there or by collecting so many features that none can be designed in the remaining time. A fixed sequence also gives you something to fall back on when you are nervous. If you get lost, return to the requirement list and ask which one has no path through the diagram yet.
The two kinds of requirement feed different later steps:
- Functional requirements feed the entities, the API and the high-level design. Each one should end up as at least one API call and one path through the diagram. A useful check at the end of the high-level design is to walk each requirement through the boxes.
- Non-functional requirements feed the deep dives. Each important quality ("bookings never double-sell a seat", "comments arrive within 200 ms") becomes a deep-dive topic where you show how the design achieves it.
A convenient phrasing keeps the two apart. Functional requirements are "Users (or clients) should be able to..." statements. Non-functional requirements are "The system should be..." or "The system should be able to..." statements. If a sentence starts with "the system should let users...", it is probably functional in disguise.
Capacity estimation is a separate, optional step. Many guides put a full estimate right after requirements. Often that only proves that the system is "big", which everyone already assumed. A better default is to tell the interviewer you will estimate later, when a number decides something. For example, in a trending-topics service, the number of distinct topics decides whether one in-memory heap is enough or the counting must be sharded. See Back-of-the-Envelope Estimation.
Requirement sets from classic problems#
Seeing many finished requirement lists is the fastest way to learn what a good one looks like. The table below summarises typical scopes for well-known interview problems. The wording is ours. What matters is the pattern: three or four core actions, an explicit out-of-scope list, and a few quantified qualities.
| Problem | Core functional requirements | Usually out of scope | Qualities that matter most |
|---|---|---|---|
| URL shortener | Create a short link from a long URL (optionally a custom alias and an expiry); follow a short link to the original | Accounts, click analytics | Each code maps to exactly one URL; redirects well under 100 ms; 99.99% available, favouring availability; ~1B links, ~100M DAU; reads outnumber writes by about 1,000:1 |
| Ad-click aggregator | Clicking an ad redirects to the advertiser; advertisers query click counts over time at 1-minute granularity | Ad targeting, ad serving, cross-device tracking, offline channels | Peak ~10k clicks/s across ~10M ads; sub-second queries; no lost clicks; data queryable soon after the click; each click counted once |
| File sync (Dropbox-like) | Upload from any device; download on any device; share files and see files shared with you; automatic sync across devices | Editing in the browser, previews, quotas, version history, malware scanning | Availability over consistency; files up to ~50 GB; recoverable after loss or corruption; fast upload, download and sync |
| Live comments | Post a comment on a live video; see new comments while watching; see earlier comments on joining | Replies, reactions, moderation, auth details | Millions of concurrent streams, thousands of comments/s on one stream; eventual consistency; delivery in about 200 ms |
| News aggregator | A feed of articles from thousands of publishers; "infinite" scrolling; click through to the publisher | Personalisation, saved articles, social sharing | Availability over consistency: slightly old news beats no news |
| Online auction | List an item with a starting price and end time; place a bid that wins only if higher than the current best; view an auction with its current best bid | Search, category filters, sorting, bid history | Correct ordering of bids; the current price visible quickly; ask the scale first |
| Payment system | Merchants create a payment request; customers pay by card; merchants see status changes (pending, succeeded, failed) | Saved cards, refunds, reports, other payment methods, subscriptions, payouts | ~10k transactions/s at peak; never charge twice; strong durability and auditability |
| Ticket sales | View events; search events; book tickets | Viewing your bookings, admin event creation, dynamic pricing | Availability for browsing but consistency for booking (no double booking); 10M users rushing one event; search in under 500 ms; ~100:1 reads to writes |
| Chat (WhatsApp-like) | Create group chats (up to ~100 members); send and receive messages; receive messages sent while offline (kept up to ~30 days); send media | Voice and video calls, business accounts, registration and profiles | Delivery to online users in under 500 ms; guaranteed delivery; billions of users; keep messages on servers no longer than needed; tolerate component failures |
Several lessons repeat across these examples.
Ask about scale before writing the NFRs. For the ad-click aggregator, the payment system and the auction, the expected scale changes the database and the architecture. If the interviewer says "10k clicks per second at peak", note that this is a peak, not a sustained rate. A peak around ten times the average implies about 1k clicks per second on average, or about 100 million clicks a day.
One requirement is often the "interesting" one. In the chat problem, "receive messages sent while you were offline" is easy to miss, but it creates the need for durable per-user inboxes and acknowledgements. A good interviewer will steer you to it. A strong candidate finds it unprompted. In the ticket problem, the interesting requirement is "no double booking under a rush of ten million users".
Different parts of one system can choose differently between consistency and availability. Ticket sales are the classic case. Browsing and search should stay up even if they show slightly stale availability. Booking must be strongly consistent, because selling the same seat twice is a real failure. Writing this split into the requirements early stops the design from forcing one choice on everything. See CAP Theorem and PACELC.
Choose consistency only when a stale read breaks something. A simple test: imagine a user acts on data that is a few seconds old. In a trading system, a second buyer acting on an old order book can cause a real loss, so consistency wins. In file sync, a user in the US who sees a colleague's upload from Germany a few seconds late loses nothing, so availability wins. Many candidates choose consistency by reflex. The test makes the choice deliberate.
Out-of-scope lists apply to qualities too. "Spam detection is out of scope" and "exhaustive security review is out of scope" are legitimate statements. They tell the interviewer you know these matter but are choosing to spend the time elsewhere.
Quantify latency per action. "Search under 500 ms", "redirect under 100 ms" and "comments in about 200 ms" each name the action that needs speed. About 200 ms is a useful target for anything that should feel live, because people tend to perceive delays below roughly that level as immediate. Jakob Nielsen's widely used response-time limits (about 0.1 s feels instant, about 1 s keeps the user's flow of thought, about 10 s is the limit of attention) give the same intuition.
Ask how the product is used, not only what it does#
Some of the most useful questions are not requirements at all. They describe how people use the product, and they quietly decide the design.
For a chat app, ask:
- Are most conversations one-to-one, or large groups?
- How many messages does a typical user send a day?
- Are users mostly online all the time (a messenger) or occasionally (email-like)?
For a file-sync app, ask:
- Are files mostly small documents or large videos?
- How often does the same file change, and on how many devices?
For an e-commerce site, ask:
- Is traffic steady, or dominated by sales events?
- How many items are in the catalogue, and how often do prices change?
The answers become assumptions about the workload. Large groups make fan-out the hard part of chat. Big video files make chunked, resumable upload the hard part of file sync. Sales events make the peak the hard part of e-commerce. If you have never used the product, say so and ask. It is a perfectly good reason to ask a question, and it is better than designing for a product you have imagined.
Requirements for systems without end users#
Not every design problem has a human user. Infrastructure problems, such as a cache, a rate limiter, a job scheduler, a key-value store or a metrics pipeline, have clients: other programs. Their functional requirements are still "clients should be able to..." statements, and they look like an API:
- Distributed cache: clients can insert an item; clients can set an expiry on an item; clients can read an item by key.
- Rate limiter: clients can check whether a request from a given key is allowed; operators can configure limits per key or per tier; rejected callers learn when to retry.
- Job scheduler: clients can submit a job to run now, at a time, or on a schedule; clients can see a job's status; jobs that fail are retried by policy.
For these systems the non-functional requirements carry most of the weight: added latency per call (often a millisecond or less for a rate limiter), throughput per node, behaviour when a node dies, and consistency of counters across nodes. The interview is mostly deep dives, so it pays to pin down the NFRs precisely.
From requirements to entities and API#
Requirements are only useful if you can trace them forward. A quick mapping shows whether the list is complete and testable. Take the ticket-sales scope:
| Functional requirement | Core entities it touches | API call |
|---|---|---|
| View an event | Event, Venue, Performer, Ticket | GET /events/EVENT_ID |
| Search events | Event (searchable fields) | GET /events/search?term=...&date=... |
| Book tickets | Ticket, Booking, User | POST /bookings with the ticket IDs (and a payment step) |
Two things fall out of this exercise. First, every requirement has a call, and every call has a requirement, so there are no orphan endpoints and no forgotten features. Second, the hard non-functional requirement attaches to one specific call. "No double booking" lives on POST /bookings, which is where the deep dive on reservations, locks or holds belongs. See Pattern: Long-Running Tasks for multi-step flows like this.
Negotiating scope with the interviewer#
Requirements in an interview are a short negotiation, not a monologue:
- Propose, then check in. "I'll focus on view, search and book. Viewing past bookings, admin tools and dynamic pricing I'll put below the line. Would you like anything moved up?" This gives the interviewer an easy way to steer you toward what they want to see.
- Treat out-of-scope ideas as cheap product signals. Naming a few out-of-scope features shows product thinking. If they do not come quickly, skip them. They add little to the evaluation, and the minutes matter more later.
- Accept the redirect. If the interviewer moves a feature above the line, adjust the list and say what it changes: "With refunds in scope, payments need a ledger that supports reversals."
- Do not dawdle. For familiar products such as chat, the obvious features are almost certainly in scope. Confirm them in one sentence and move on.
Prompt traps and how to handle them#
Some prompts are built to test whether you clarify before designing. Each trap has a short, reliable response.
The famous product. "Design YouTube" or "Design Uber" names a product with hundreds of features. The trap is trying to design all of them. Pick the core loop, such as upload and watch for video, or request, match and track for ride-hailing, and put the rest below the line. Say out loud that the real product is much larger and that you are choosing a slice on purpose.
The hidden second system. "Design Dropbox" contains a blob-storage system. "Design a payment system" contains a card network. Usually the hidden system is out of scope: you use object storage or an external payment provider as a black box. Say so explicitly, so the interviewer can redirect you if they wanted the inner system instead.
The ambiguous noun. "Design a notification system" could mean a mobile push service, an email platform, or an in-app inbox. "Design a leaderboard" could mean one global ranking or millions of small ones. Ask which one, or pick one and state it.
The missing scale. Some prompts give no numbers at all. That is an invitation to ask, or to assume and write down. For problems where scale drives the design, such as aggregators, counters and payment ledgers, ask about scale before writing any NFRs, because it changes the database and the architecture.
The over-specified prompt. Occasionally the interviewer hands you a full list of requirements. The trap is spending time re-deriving them. Read them back briefly, ask one or two questions about anything ambiguous, and move on to the design.
The moving target. Midway through, the interviewer adds a requirement: "now users in Europe must have their data stored in Europe". This is not a sign you did badly. It is usually a planned deep dive. Add it to the list, say which part of the design it changes (here, per-region storage and routing by user location), and adapt the diagram rather than starting over.
The silent interviewer. Some interviewers answer every question with "what do you think?". Treat that as permission to decide. Give your choice and the reason in one sentence ("I'll assume a chronological feed, because ranking is a separate system"), and continue. A clear, reasoned default is exactly what they want to see.
When to Use It#
- At the start of every design, real or interview.
- When a stakeholder brings a feature request with no numbers.
- When two teams disagree about a design. The disagreement is often an unstated requirement ("you assumed strong consistency; I assumed 10 s of staleness is fine").
- When scope keeps growing. An agreed out-of-scope list protects the project.
- Before choosing a database, a message broker or a cloud region. These choices are expensive to undo.
- When inheriting a system. Reconstructing its requirements explains why it looks the way it does.
When NOT to Use It#
- Do not spend twenty minutes on questions in a 45-minute interview. Aim for about five, then move on and refine later.
- Do not ask questions whose answers will not change your design ("What colour is the logo?").
- Do not write a 40-page specification for a throwaway prototype or an internal script. Requirements effort should match the cost of being wrong.
- Do not treat requirements as fixed when you are exploring a brand-new product. There, fast prototypes that test what users want can be better discovery than interviews. Write down the few hard constraints (privacy, cost limit) and iterate on the rest.
How to Implement It#
- Restate the problem in one sentence to confirm you understood it: "So we are building a service where users share photos with their followers, mostly on mobile."
- Identify the actors: end users, admins, other systems, operators.
- List candidate features, then pick the top three with the stakeholder (core-loop test or MoSCoW).
- Write the out-of-scope list right below them.
- Ask the checklist questions that could change the design.
- Quantify the NFRs and say which two or three matter most. "Durability and feed latency matter most; strict consistency does not."
- Write assumptions for anything unknown, with numbers, and mark the risky ones.
- Derive access patterns with rates and freshness.
- Move on to estimation, and loop back if the numbers contradict an assumption.
- In real projects, record it in a design doc and link decisions to requirements.
Worked example: "Design a photo-sharing app"#
The prompt is just five words. Here is how a short conversation turns it into a scope.
Step 1: restate and ask. "A mobile-first app where people post photos and see photos from people they follow. Who are the users, and how many? Global? Is the feed ranked or chronological? Do we support video?" Suppose the answers are: consumers; 50 million daily users; global with most in the US, Europe and India; chronological feed for now; photos only.
Step 2: features and scope.
Functional (top 3)
1. Users can upload a photo with a caption.
2. Users can follow and unfollow other users.
3. Users can view a reverse-chronological feed of photos from people they follow.
Out of scope (v1): comments, likes, stories, video, direct messages, ads, search, ranking.
Non-functional (most important first)
- Durability: an acknowledged upload is never lost.
- Feed latency: p99 < 300 ms for the first page; upload may take a few seconds.
- Availability: 99.9% for feed reads; uploads may degrade during incidents.
- Consistency: eventual; a new photo may appear in followers' feeds within ~10 s.
- Scale: 50M DAU; ~20 feed views and ~0.2 uploads per user per day.
- Global, mobile-first: small payloads, CDN-served images in several sizes.
Assumptions
- Average photo ~2 MB after client compression; 3 resized variants stored.
- Average user follows 200 accounts; a few accounts have > 10M followers (RISKY).
- Keep photos forever unless the user deletes them; deletion within 30 days (GDPR).Step 3: what the requirements already decide.
- Durability and size: photo bytes go to replicated object storage, metadata to a database.
- Global, mobile: a CDN for images, with variants for different screens.
- Feed latency at 50M users: precomputed feeds or caching. Celebrities make pure fan-out on write expensive, which is why the risky assumption is marked.
- Eventual consistency: feed updates can be asynchronous through a queue.
- Deletion: deletion must reach object storage, the CDN and caches, so it needs its own workflow.
None of this needed a diagram, but the diagram is now easy to draw.
A second example: a vague internal request#
Prompt from a product manager: "We need notifications."
Asking the checklist questions reveals more detail:
- Channels: push, email and SMS.
- Two kinds of message:
- Transactional messages (password reset, order shipped) must arrive in seconds.
- Marketing messages can be delayed by minutes and must respect quiet hours.
- Volume: about 5 million transactional and 50 million marketing messages a day, with campaigns sent in bursts.
- User control: users can opt out of marketing, and opt-outs are a legal requirement in many countries.
- Reliability: each notification must be sent at most once per channel, so users never get duplicates.
Resulting requirements:
- Two priority classes, which become separate queues so that campaign bursts never delay password resets.
- A preferences store checked before every send.
- Idempotency keys so retries do not create duplicates.
- Rate limits per provider.
Each of these is a design element that would have been missed without five minutes of questions. The full design is in Design a Notification System.
A third example: an infrastructure prompt#
Prompt: "Design a rate limiter."
There is no end user here, and the prompt hides several very different systems. The questions below separate them:
The resulting scope:
Functional
1. Clients (the gateway) can ask whether a request for a key is allowed.
2. Operators can configure limits per key and per tier (e.g. 100 req/min for free keys).
3. Rejected callers receive HTTP 429 with a hint for when to retry.
Out of scope: billing for usage, per-endpoint cost weights, an admin UI.
Non-functional
- Latency: the check adds at most ~1 ms at p99 inside the region.
- Throughput: ~1M checks/s at peak across ~10M active keys.
- Availability over accuracy: if the limiter is unhealthy, fail open (allow traffic).
- Accuracy: small overshoot (a few percent) under normal operation is acceptable.
Assumptions
- Counters for 10M keys at ~100 B each = ~1 GB: fits in memory (a small Redis cluster).
- Limits change rarely; caching configuration for ~30 s is fine.The answers changed the design shape twice. "Shared service" rules out a simple in-process library. "Fail open, small overshoot is fine" allows approximate counting with local batching, instead of a strongly consistent counter on every request, which would struggle to stay within the 1 ms budget at 1 million checks per second. One minute of questions removed a whole class of over-engineered designs.
| Technology | Fits when |
|---|---|
| A shared doc or whiteboard | Writing FRs, NFRs and assumptions where everyone sees them |
| Design doc / RFC templates | Real projects that need review and sign-off |
| ADR files in the repository (Markdown) | Recording which requirement justified which decision |
| A ticket tracker (Jira, Linear) | Turning agreed requirements into tracked work |
| Requirements tools (IBM DOORS, Jama Connect) | Regulated industries (aerospace, medical) needing formal traceability |
Trade-offs#
| Approach | Pros | Cons | Pick when |
|---|---|---|---|
| Few questions, quick assumptions | Fast, leaves time for design | Risk of missing a key need | Interviews, prototypes |
| Thorough discovery | Fewer surprises later | Slow; may stall decisions | High cost of change: payments, health, infrastructure |
| Formal "shall" specifications | Precise, traceable, auditable | Heavy, slow to change | Regulated or safety-critical systems |
| User stories + acceptance criteria | Lightweight, user-centred | Weak on NFRs unless added deliberately | Product teams iterating quickly |
| Prototype-led discovery | Learns real user behaviour | Prototype may be mistaken for the product | New products with uncertain demand |
| Narrow scope (top 3) | Depth on what matters | Stakeholders may feel unheard | Almost always, with a clear out-of-scope list |
| Estimate upfront | Every number on the board early | Time spent on numbers that change nothing | Infrastructure-heavy prompts where rate or size is the whole problem |
| Estimate just in time | Time goes to the design; numbers arrive when needed | A key number may be noticed late | Most product-style prompts |
| One consistency choice for the whole system | Simple to explain | Over-constrains parts that could be available, or under-protects critical paths | Small systems with one kind of data |
| Per-operation consistency (browse available, book consistent) | Matches each path to its real need | More moving parts to explain and build | Booking, payments, inventory, auctions |
| Event storming / domain workshops | Finds events, boundaries and shared vocabulary | Needs the right people in the room for hours | Complex business domains, new platforms |
Common Pitfalls#
- Listing ten features and designing none of them well.
- Writing NFRs without numbers ("highly scalable", "fast").
- Forgetting the out-of-scope list, so scope creeps during the design.
- Never stating which NFRs matter most, so every trade-off becomes a debate.
- Copying the requirements of a famous product ("we need Netflix scale") instead of your own.
- Forgetting non-human actors such as admins, batch jobs, partner integrations and operators.
- Missing deletion, retention and compliance requirements, which are expensive to add later.
- Treating assumptions as facts, never validating the risky ones.
- Asking many questions but never summarising the agreed scope back to the stakeholder.
- Spending fifteen minutes on requirements in a 45-minute interview, then running out of time before a working design exists.
- Writing functional requirements as "the system should..." statements, which hides who does what.
- Choosing strong consistency everywhere by reflex, instead of only where a stale read causes real harm.
- Missing the "interesting" requirement, such as offline delivery in chat or exactly-once counting for ad clicks.
- Using ambiguous words ("delivered", "real time", "delete") without saying what is measured.
- Forgetting lifecycle requirements: rollback, client version skew, backfills, abuse limits and decommissioning.
- Asking about scale only after writing the NFRs, when the scale should have shaped them.
Real-World Examples#
Amazon is widely known for its "working backwards" practice: teams write a mock press release and an FAQ for a new product before building it, which forces them to state the customer, the problem and the key requirements in plain language first. Colin Bryar and Bill Carr describe it in Working Backwards (2021).
Many companies use written design documents reviewed before significant work begins. Google's design-doc culture and the RFC processes at companies such as Uber and HashiCorp have been described publicly by their engineers. A standard section of these documents is goals and non-goals, which is the functional scope and out-of-scope list from this page.
Typical scenario: a team builds a reporting dashboard assuming data may be a day old. After launch, the sales team says they need figures within five minutes to run promotions. The batch pipeline has to be rebuilt as a streaming pipeline. One question ("how fresh must the numbers be?") would have changed the design on day one.
Jakob Nielsen's response-time guidelines, set out in Usability Engineering (1993) and drawing on earlier research, are a common source for latency requirements. Around 0.1 seconds feels instantaneous, around 1 second keeps the user's train of thought, and around 10 seconds is roughly where attention is lost. Teams still use these bands to turn "fast" into a number for each kind of interaction.
Domain-driven design, from Eric Evans's 2003 book, and the event-storming workshops that grew out of that community, are widely used to discover requirements for complex business domains. They make the business vocabulary explicit before anyone draws services.
Typical scenario: a chat team writes "messages are delivered within 500 ms" without saying which state counts as delivered. The backend team measures "stored on the server", the mobile team measures "shown on the recipient's screen", and both report success while users complain about late messages. Rewriting the requirement as "for online recipients, p99 time from send to device acknowledgement is under 500 ms" ends the argument and points directly to the push path that needs work.
In the Interview#
A sample five-minute requirements script#
Here is what the requirements step sounds like for "Design a ticket-booking site", end to end:
- Restate. "So users find events and buy tickets, and some events sell out in minutes."
- Functional, proposed. "Core features: view an event, search events, book tickets. Below the line: viewing my past bookings, admin tools to create events, dynamic pricing. Anything you'd like moved?"
- Usage questions. "How many events and venues? How big is the biggest on-sale moment?" Suppose the answer is "100k events a year, and up to 10 million people trying to buy for one big concert".
- Non-functional, quantified and ranked. "Most important: no seat sold twice, so booking is strongly consistent. Second: browsing and search stay available and fast, search under 500 ms, and slightly stale availability is fine there. Third: survive a 10-million-user rush for one event. The workload is read-heavy, about 100 reads per booking."
- Assumptions. "I'll assume payment goes through an external provider, and a seat is held for about 10 minutes while the user pays."
- Close. "So the hard parts are the booking path and the on-sale spike. I'll design the basics and then deep-dive those two."
That script takes about four minutes. Every sentence either fixes scope, attaches a number, or names a deep dive.
What interviewers look for at each level#
Expectations rise with seniority. The labels differ between companies, but the pattern is consistent:
| Level | What a good requirements step shows |
|---|---|
| Junior / mid-level | Reaches a sensible core feature list with some help; gives NFRs with at least rough numbers; does not over-scope |
| Senior | Drives the conversation; finds the shape-changing requirement unprompted (no double booking, offline delivery, exactly-once counting); ranks the NFRs and ties each to a deep dive |
| Staff and above | Also frames the business context: who the stakeholders are, what failure costs, what to build first versus later, and which assumptions must be validated before committing. Still finishes in about five minutes |
At every level, the red flags are the same: drawing before stating any requirements, a long feature list, NFRs without numbers, and questions whose answers would not change anything.
Deep Dive: Finding the requirement that changes everythingShow
Most requirements only change the size of the design: more servers, bigger disks. A few change its shape, meaning which components exist and how they connect. Senior engineers hunt for these early:
- "Must never double-book or double-charge" forces strong consistency, transactions or locks on the critical path, and idempotency on every retry.
- "Real-time" (under a second) forces persistent connections or push, not polling every minute.
- "Global, low latency, writable everywhere" forces multi-region writes and conflict handling, or a "home region" per user.
- "Spiky traffic" (ticket drops, flash sales) forces queues, admission control or virtual waiting rooms.
- "Strict data residency" forces per-region data stores and routing by user location.
- "Offline first" forces client-side storage, sync protocols and conflict resolution (often CRDTs).
- "Audit everything" forces append-only logs or event sourcing, and immutable storage.
- "Delete everything about a user within 30 days" forces a data inventory and deletion pipelines across every store, cache, backup and analytics copy.
A good habit is to ask: "Which one requirement, if it changed, would make me redraw this diagram?" Say it out loud. It shows you understand where the design is fragile.
In architecture practice this idea has a name. In the SEI's Architecture Tradeoff Analysis Method (ATAM):
- Quality attribute scenarios are ranked by business importance and technical difficulty.
- Decisions that affect several quality attributes at once are called trade-off points.
- Decisions that affect a key attribute strongly are called sensitivity points.
Shape-changing requirements are exactly the ones that create sensitivity points.
In real projects, also capture non-goals with reasons ("no offline mode in v1 because under 2% of sessions are offline") and an owner for each assumption. Assumptions that nobody owns tend to become silent failures later.
Deep Dive: Writing requirements that can be testedShow
A requirement that cannot be tested cannot be verified, and will be argued about. ISO/IEC/IEEE 29148, the international standard for requirements engineering, lists the qualities of a good requirement:
- Necessary: if removed, something is lost.
- Unambiguous: only one interpretation.
- Complete: no missing conditions.
- Singular: one requirement per statement.
- Feasible: possible with available technology and budget.
- Verifiable: you can test whether it is met.
- Correct: it reflects a real need.
You can apply this informally with a quick rewrite exercise:
| Weak | Problem | Testable rewrite |
|---|---|---|
| "The system should be fast." | Ambiguous, unverifiable | "p99 latency for GET /feed is under 300 ms at 50k requests/s." |
| "The system must be highly available." | No number, no scope | "Feed reads succeed for 99.9% of requests per calendar month." |
| "Users can upload and share photos and videos." | Not singular; video is a different system | Split into separate requirements; video out of scope for v1. |
| "Data should never be lost." | Unbounded | "Acknowledged uploads survive the loss of any single data center (RPO = 0)." |
| "Support lots of users." | Unverifiable | "Handle 50M DAU with 3x peak-to-average traffic." |
Two more techniques from practice:
- Planguage, Tom Gilb's notation, specifies a quality with a scale (what is measured), a meter (how it is measured), and levels such as must (minimum acceptable), plan (target) and wish. For example: scale = p99 feed latency in ms; meter = production traces; must = 500; plan = 300. Using two levels helps negotiation, because "must" is a hard limit while "plan" is a goal.
- Fitness functions, from Ford, Parsons and Kua's Building Evolutionary Architectures (2017), turn NFRs into automated checks that run in CI or in production. A latency budget becomes a load test that fails the build if it is exceeded. A dependency rule becomes a test that fails if module A imports module B. Requirements then stay true as the system evolves, instead of drifting.
In interviews you do not need the vocabulary. But stating NFRs in this testable form ("p99 under 300 ms at 50k requests/s") marks you as someone who has run real systems.
Deep Dive: Stakeholders beyond the end userShow
Requirements come from more people than the person who wrote the prompt. In real organisations, missing a stakeholder is a common cause of late surprises:
| Stakeholder | Typical requirements they hold |
|---|---|
| End users | Features, latency, usability, privacy expectations |
| Product and business | Priorities, launch dates, growth forecasts, pricing tiers |
| Operations and SRE | On-call load, deploy safety, observability, runbooks, SLOs |
| Security | Authentication, encryption, threat model, secrets handling |
| Legal and privacy | Data residency, retention, deletion, consent, audit |
| Finance | Cloud budget, cost per user or per request |
| Support | Admin tools, user lookups, refunds, account recovery |
| Data and analytics | Event tracking, exports, history for reporting |
| Partner teams | API contracts, rate limits, event formats they consume |
A lightweight way to cover them is a stakeholder sweep: before finalising the design doc, send it to one person from each group with a single question: "What would make this design unacceptable to you?" Most answers are quick. The few serious ones are the requirements you would otherwise have discovered in production.
In an interview the interviewer plays all these roles. Mentioning one or two of them briefly, such as "I would also check retention with legal" or "ops will want a kill switch for this feature", is a cheap signal of real-world experience.
Deep Dive: Ambiguous words that hide requirementsShow
Many requirement arguments come from ordinary words that mean different things to different people. Pinning down a few of them early prevents designs that are correct for the wrong meaning.
"Delivered." In a messaging system, a message can be in several states. "Delivered" could mean any of them:
A requirement such as "messages are delivered within 500 ms" must say which transition it measures. Server-durable within 500 ms is a storage requirement. On-device within 500 ms is also a connection and push requirement, and it can only apply to recipients who are online. Each transition needs its own acknowledgement. That is why chat designs have separate "sent", "delivered" and "read" receipts.
"Real time." This can mean under 100 ms (games, trading), under a second (chat, live comments), or "within a minute" (dashboards). The three need different technologies: UDP or persistent connections, WebSockets or server-sent events, or simple polling. See Real-time Communication. Always replace "real time" with a number and a percentile.
"Delete." It can mean hidden from the user interface (a soft delete), removed from the primary database, or removed from every copy, including caches, search indexes, analytics tables and backups. Privacy law often requires the last one within a bounded time. The difference between soft delete and full erasure is the difference between one SQL update and a cross-system deletion pipeline.
"User." Logged-in users, anonymous visitors, API clients, admins and internal services all count as "users" in different sentences. A requirement such as "users can see prices" changes meaning if anonymous visitors are included, because their traffic is cacheable and much larger.
"Available." Does it mean the home page loads, every feature works, or the API returns no 5xx errors? Is it measured per request or per minute? Over a month or a year? See Availability and Reliability.
"Consistent." Do users need to see their own writes immediately (read-your-writes)? Do all users need to see the same order of events? Or must every read see the latest write everywhere? Each is a different consistency model with a different cost. See Consistency Models.
"Only," "and/or," "all." "Only admins can delete posts and comments" might mean admins are the only ones who can delete either, or that admins can delete only posts and comments, nothing else. Natural language is full of such scope ambiguities. Restating the requirement back in a more precise form ("so a regular user can never delete a comment, even their own?") is the quickest fix.
A habit that helps: whenever a requirement contains an adjective or a vague verb, ask "how would we measure that?" If nobody can answer, the requirement is not finished.
Deep Dive: How real teams discover requirementsShow
Interviews compress discovery into five minutes. Real teams use a toolbox of techniques. The right one depends on how well the problem is understood:
| Technique | What it is | Best for |
|---|---|---|
| Stakeholder interviews | One-to-one conversations with users, operators and owners | Understanding goals, pain points and constraints |
| Observation (contextual inquiry) | Watching people do the work in their real setting | Finding steps users forget to mention |
| Workshops | A facilitated session with several stakeholders at once | Resolving conflicts between groups quickly |
| Event storming | Stakeholders put domain events ("order placed", "payment failed") on a timeline with sticky notes | Complex business processes and finding service boundaries |
| Document and system analysis | Reading existing specs, logs, tickets and code | Replacing or extending a legacy system |
| Prototypes and spikes | Small throwaway builds | Testing feasibility or user demand before committing |
| Production data | Logs, traces and metrics from the current system | Real traffic shape, payload sizes, error rates |
Event storming, introduced by Alberto Brandolini, is especially useful for system design. The output is a timeline of domain events, the commands that cause them and the actors involved. Clusters of related events often become service boundaries, and the events themselves become the messages in an event-driven design. It connects naturally to the ubiquitous language idea from Eric Evans's Domain-Driven Design (2003): the business and the engineers use the same precise words for the same things, which removes many of the ambiguities from the previous deep dive.
Templates help completeness. The Volere requirements template from Suzanne and James Robertson (Mastering the Requirements Process) is a long-standing checklist of what a full specification covers: goals, stakeholders, constraints, naming conventions, functional and non-functional requirements, open issues and risks. You rarely need all of it, but scanning it before a large project catches forgotten categories such as cultural, legal and operational requirements.
Discovery never really ends. Production data is the most honest source of requirements once a system exists. Traffic curves show the real peak factor. Error logs show which edge cases matter. Support tickets show which features users actually rely on. Mature teams treat the requirement document as a hypothesis, and production as the experiment that tests it.
Deep Dive: Lifecycle requirements nobody statesShow
Prompts describe what a system does on a good day. Many expensive requirements concern how it is built, changed, run and retired. They rarely appear in a feature list, so experienced engineers ask about them deliberately.
- Deployment and rollback. Can a bad release be rolled back in minutes? Does that need backward-compatible database changes? A rule like "every schema change must work with both the old and the new code" shapes every migration.
- Client version skew. Mobile apps stay installed for months or years without updating. The server must accept requests from old clients, so APIs need versioning, tolerant parsing and a policy for when old versions are cut off.
- Data migration and backfill. New features often need history: a new index over three years of data, or a new derived field for every user. Can the system backfill at a controlled rate without hurting live traffic?
- Dependency limits. Every external dependency has its own SLA, rate limits and quotas. A payment provider that allows 1,000 requests per second caps your checkout throughput regardless of your own design.
- Observability. Who is paged, for what, and how do they find the cause? Requirements such as "every request carries a trace ID" or "we can see per-tenant error rates" are cheap at the start and painful to retrofit.
- Abuse and limits. Every public endpoint needs rate limits, size limits and a plan for bots. "Users can upload files" implies a maximum size, allowed types and scanning, even when the prompt does not mention them.
- Multi-tenancy and isolation. If many customers share the system, can one noisy customer slow down the others? Per-tenant quotas and isolation are architectural decisions, not tuning.
- Cost ceilings. "The system must cost under $X per month at launch scale" rules out some managed services and favours others. See Non-Functional Requirements.
- Decommissioning. How is the old system turned off? How is its data exported, migrated or deleted? Replacement projects often fail at the cut-over, not in the new design.
A five-question sweep covers most of these in a design review: "How do we deploy it? How do we roll it back? How do we know it is broken? How do we stop abuse? How do we turn it off?"
Deep Dive: When two requirements conflictShow
Requirements gathered from different people often pull in opposite directions. Spotting the conflict during requirements is cheap. Discovering it in production is not. These conflicts come up again and again:
| Requirement A | Requirement B | Why they conflict | Typical resolution |
|---|---|---|---|
| Low latency everywhere | Strong consistency across regions | A consistent write across continents waits for a wide-area round trip, often 70-150 ms or more | Strong consistency only for the operations that need it; a home region per user; local reads that may be slightly stale |
| No data loss on any failure | Fast writes | Synchronous replication to another zone or region adds round trips to every write | Synchronous within a region, asynchronous across regions, with a stated RPO for region loss |
| Erase a user's data on request | Keep financial records for years | Privacy law requires deletion, while accounting and tax rules require retention | Separate personal data from the transaction record; delete or pseudonymise the personal part, and keep the minimal record the law requires |
| Highest availability | Lowest cost | Redundancy across zones and regions multiplies infrastructure | Rank features by criticality; spend redundancy on the critical path only |
| Rich personalisation | Minimal data collection | Personalisation needs behavioural data | Process on the device, aggregate, or ask for explicit consent with clear retention |
| Ship quickly | Support every client version for years | Long-lived compatibility slows every API change | A published deprecation policy with a minimum supported version |
The table shows three general ways to resolve a conflict:
- Split by operation or data type. Most conflicts disappear when you notice that the two requirements apply to different parts of the system. Ticket browsing can be available and stale while booking is consistent. Personal fields can be erasable while the transaction record is kept.
- Put numbers on both sides. "Low latency" and "strong consistency" sound incompatible. "p99 under 300 ms" and "consistent within a region" usually are not. Once both are quantified, you can often find a design that meets both, or show precisely which number has to move.
- Escalate to the owner, with options. Some conflicts are business decisions, not engineering ones. Present two or three options with their costs: "We can offer 99.99% for checkout at roughly double the infrastructure, or 99.9% at today's cost." Let the person who owns the trade-off choose, and record the decision with the requirement it changed.
A worked example of the privacy conflict makes the first technique concrete. A payment platform receives an erasure request from a customer. The ledger entries for that customer's purchases must be kept for several years for accounting. The design that satisfies both:
- stores personal details (name, email, address) in a separate profile store, keyed by a customer ID;
- has ledger entries refer only to that customer ID, amounts, dates and merchant IDs;
- on erasure, deletes or pseudonymises the profile and the personal fields in caches, search indexes and analytics copies, while the ledger stays intact but no longer identifies a person directly.
Some teams go further and encrypt each customer's personal data with a per-customer key, then destroy the key on erasure ("crypto-shredding"). This makes copies in backups unreadable without having to rewrite the backups. Whether this is enough for a given law and jurisdiction is a legal question. That is exactly why legal belongs in the stakeholder sweep.
In an interview, conflicts are a chance to show judgement. When two NFRs pull against each other, name the tension, propose the split, and say which side you favour and why: "Booking favours consistency, so a few hundred milliseconds of extra latency there is acceptable. Browsing favours availability and speed, so it reads from caches that may be a few seconds behind."
Key Takeaways#
- Requirements come first because the data model, database choice, topology and scale all depend on them, and errors found late cost far more to fix.
- Functional requirements are the top three user actions, written with actor and action; everything else goes on an explicit out-of-scope list.
- Non-functional requirements must be quantified and testable (p99 latency at a stated load, availability per month), and you should say which two or three matter most.
- Turn requirements into access patterns with rates and freshness; they are the bridge to data modeling and estimation.
- Ask only the clarifying questions that could change the design, and write assumptions with numbers and owners for the rest.
- Prioritise with the core-loop test or MoSCoW, and favour features that are hardest to change later.
- Look for the requirements that change the shape of the design, such as strong consistency, real-time delivery, global writes, offline use or deletion.
- In real projects, keep requirements in a reviewed design doc and link decisions to them so changes can be traced.
- In an interview, requirements take about five minutes and feed the later steps: FRs become entities, API calls and diagram paths; NFRs become deep dives.
- Write FRs as "users (or clients) should be able to..." and NFRs as "the system should be...", and check that every requirement maps to at least one API call.
- Ask about scale and usage (group sizes, message rates, file sizes, sales events) before fixing the NFRs, because they decide the design shape.
- Different operations can choose differently between consistency and availability; choose consistency only where a stale read causes real harm.
- Replace ambiguous words such as "delivered", "real time" and "delete" with the exact state, number and percentile being measured.
- Infrastructure prompts have clients instead of users; their NFRs (added latency, throughput, failure behaviour) carry most of the design.
- Ask about lifecycle requirements too: deployment, rollback, version skew, backfills, abuse limits, observability and decommissioning.
- When requirements conflict, split by operation or data type, quantify both sides, and escalate business trade-offs to their owner with costed options.