How it works
Functional requirements describe observable actions: publish a post, view a feed, or attach a photo. Quality requirements, often called non-functional requirements, describe the conditions under which those actions must work: response time, availability, durability, privacy, and expected load. A feature can work in a demo and still fail in production.
Put numbers on qualities, because numbers change designs. As an example, “the feed loads within 300 ms for 99% of requests at 5,000 requests per second” pushes you toward caching or precomputed feeds, while “loads in about a second at 50 requests per second” may need neither. Availability (the service answers now) and durability (stored data is not lost) are also separate. Amazon S3 Standard is designed for 99.99% availability and eleven nines of durability, so a file can be briefly unreachable without being lost.
Ask for figures and priorities when they exist. When they do not, make an explicit assumption with a reason and mark it for confirmation. Assuming reverse chronological ordering simplifies a feed, but it is a product choice. Do not demand strict targets by habit: each extra nine of availability usually costs more redundancy and testing, and an internal tool for 50 people rarely needs it. Existing services and team constraints also affect the design.
A feed must let people post and read, but nobody specified ordering or traffic. How do you proceed?
Record posting and reading as features. Ask for ordering and usage expectations. If answers are unavailable, state an ordering and workload assumption explicitly, then design against them.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Functional requirements say what happens; quality requirements say how well and under what load.
- Make uncertain assumptions visible before they harden into architecture.