SteelReed

Search

Search posts, questions…

System DesignQuestion 2 / 26

Junior

What is the difference between functional and non-functional requirements?

Short answer

A functional requirement says what the system does; a non-functional requirement (NFR) says how well. Functional requirements drive the API and data model, NFRs drive the architecture, and an NFR only counts when it is measurable.

must be measurableRequirementsFunctional: what?NFR: how well?API, data modelArchitecture: cache,replication, queuep99 under 50 ms,99.99%

3 points to say:

  1. Functional: what the system does (shorten a link, redirect, transfer money) → drives the API and data model.
  2. NFR: how well (latency, availability, consistency, security, cost) → drives the architecture.
  3. Every NFR needs a number and a way to measure it; idempotency or availability added later usually means re-architecting.

Keep reading the deep dive

Create a free account to read the full explanation and follow-up questions, mark questions as studied and review them on a schedule.