# Non-functional requirements checklist for integrations From part 2 of API Integration for Analysts — cybernotes.it/trainings/api-integration/2-requirements-and-design/ Fourteen categories. Walk all of them for each integration and write a number, a unit and a condition — not an adjective. How to use it: - The numbers come from the business: how long someone will wait, what an hour of downtime costs, how far back an auditor looks. Whether a number can be met, and at what cost, is a question for the architect. - "Not applicable" is a valid outcome. Write it down, with who confirmed it. - Category 8 is easy to leave empty, and it decides whether anyone finds out when one of the others is broken. Integration: … Analyst: … Date: … | # | Category | Questions to ask | Requirement, or "n/a, confirmed by …" | |---|----------|------------------|----------------------------------------| | 1 | Volume | Records or calls on a normal day? On the worst day on record? Growth over two to three years? Size of any initial load? | | | 2 | Response time | Is someone waiting on a screen? What response time at the expected load — as a percentile, such as p95, not an average? | | | 3 | Freshness | For events and files: how old may the data be where it is used? How late may an event arrive before it matters? | | | 4 | Availability | What uptime is needed, and when does it matter — all hours, or business hours? Which maintenance windows are acceptable? | | | 5 | Recovery | How quickly must it be back after a failure (RTO)? How much data may be lost (RPO)? How is the gap caught up? | | | 6 | Error handling | What is the retry policy? What happens on a duplicate? What does it do while a dependency is down? Who owns what could not be processed? | | | 7 | Reconciliation | How is completeness proven — control totals, counts? Which side is right when they disagree? How often is it checked? | | | 8 | Monitoring and alerting | Which conditions raise an alert — an error rate, silence, a file missing by a set time? Who receives it, how, and how fast? | | | 9 | Audit | What must be traceable — who, what, when — and how far back? Where is the correlation id recorded? | | | 10 | Security | How do the systems sign in to each other, with which permissions? How are credentials and certificates rotated? | | | 11 | Data protection | Are the personal data fields the minimum needed? Is the legal basis recorded? How long is received data kept, and how is it deleted? Is personal data kept out of logs and web addresses (URLs)? | | | 12 | Capacity and limits | What limits does the provider set, against our peak? Limits on file or payload size? What happens when a limit is reached? | | | 13 | Compatibility and change | Is the specification version pinned? How is a version retired, and with how much notice? Does the consumer tolerate added fields? | | | 14 | Operability | Is there a runbook for support? Can a message or a file be replayed by hand? Does the test environment behave like production? | | ## Example: four adjectives rewritten, from the training case | As first written | As a requirement | |------------------|------------------| | "must be fast" | p95 at most 2 seconds at the storm peak, registry lookup included | | "handle the load" | 150 claims a day; 800 a day in a storm week; 100 an hour at peak | | "always up" | 99.5 % a month; maintenance window Sunday 02:00–04:00 | | "status updates must be reliable" | against delay: visible in the portal within 5 minutes (p95); against loss: no status event lost — delivered at least once, duplicates recognised by the event's id; against disorder: the updates for one claim applied in the order they happened; and an alert when no events arrive for 15 minutes in business hours | p95 is the time 95 % of calls beat: one call in twenty may be slower. An average would hide that slow tail. The case is synthetic. CyberNotes · cybernotes.it · CC BY-SA 4.0