MSBA-310 · Lesson 8 of 12 · 19 min
Non-functional requirements: scale, latency, cost
▶ Video coming soon A video version of this lesson is on the way.
Late in August 2026 a hailstorm crossed the area around Quillfield's head office in the early evening. Over the following two days the claims team received about 180 first notices, roughly three weeks of normal volume, most of them by phone and voicemail. Tobias remembered it vividly: "We weren't short of goodwill. We were short of hands and hours." When Bram began the non-functional requirements for the claims design, he used that storm as the design case, not an average Tuesday.
Non-functional requirements describe how well a solution must work: how much load it carries, how fast it responds, how available it is, how accessible, and what it may cost. For AI solutions, latency and cost behave differently from traditional software, and the architect must estimate both before the build. This lesson covers how.
Scale: design for the peak, budget for the average
Volume estimates start from the baseline. Quillfield handled roughly 260 first notices a month. Bram's estimate for the intake agent added three adjustments.
Adoption. Not every notice would come through the agent. He assumed 40 of every 100 notices in the first three months, rising to 70 of every 100 by month six, with the remainder by phone and email.
Conversation overhead. Not every conversation ends in a notice. Clients ask questions, abandon and return, or start a report and phone instead. Analytics from the HR Leave Assistant suggested allowing about 1.4 conversations per completed notice.
Peaks. Storms concentrate demand. The August storm produced 180 notices in two days, with the busiest hour around 25. A design that handles 25 notices in an hour, plus related conversations, has headroom for most events.
The scale questions then become concrete. Can the agent handle 35 concurrent conversations? Can the BrokerDesk API handle the policy match calls? Can the flow create 25 notices an hour while storing photos? Can advocates review that many notices, or does the human step become the bottleneck? The last question was the most important. The agent could take notices faster than people could review them, so the design added a triage view that sorted the review queue by urgency (water still entering, people displaced, business closed) and by the hail model's damage category.
Latency: budgets for conversation time
People judge a conversation by its rhythm. A reply after two seconds feels responsive; after ten seconds it feels broken, especially on a phone at night. Generative responses take longer than classic ones, because a model must process the context and generate text, and tool calls add network and processing time.
Bram set a latency budget: a target time for each turn, divided among its parts. For a typical intake turn with one tool call, he allowed roughly a second for orchestration, two seconds for the tool, and two seconds for response generation, with a target of about five seconds and an upper limit of about ten for the slowest turns. Turns over budget in the proof of concept would be investigated.
Several design choices protect latency:
Use topics for structured questions. Asking "What date did the loss happen?" from a topic is fast and predictable.
Keep the synchronous path short. Lesson 6 limited the conversation's critical path to two tool calls.
Respond early. The create notice flow returns the reference immediately.
Choose models for the task. Smaller, faster models suit narrow tasks such as extracting a date or classifying a loss type; larger models suit open questions.
Ground narrowly. Searching a small, purpose-written knowledge set is faster and more accurate than searching a large library.
Availability, recovery and continuity
Clients report losses at the worst moments, sometimes when power and internet are unreliable. Bram wrote availability requirements in plain terms: the intake agent should be available whenever the website is; if the agent or a dependency is unavailable, the website should show the phone number and the carrier emergency lines; no client-entered information should be lost once the client has received a reference.
He also recorded the dependencies and their failure modes. If BrokerDesk is down, the agent still accepts notices without matching (the Dataverse staging design from lesson 4 makes this possible). If the triage model is down, notices proceed without a damage category. If Teams notifications fail, the advocate queue in the model-driven app still shows the notice. Designing graceful degradation is cheaper than designing for perfect uptime.
Accessibility and inclusion
A client reporting a loss may have a disability, may be using a screen reader, may be older and unfamiliar with chat, or may prefer French or another language. The design required the web chat to meet Quillfield's accessibility standard, kept messages short and plain, avoided relying on images to convey information, and always offered the phone route. Language support was recorded as a later requirement; the proof of concept would be in English with a French version planned.
Cost: estimating consumption before the build
Agentic solutions are billed largely by consumption, so cost depends on behavior. Copilot Studio uses Copilot Credits, introduced on September 1, 2025. Billing rates differ by event type. In the rates Quillfield used for planning, a classic answer from a topic costs 1 credit, a generative answer 2 credits, an agent action (such as a tool call or a step by an autonomous agent) 5 credits, tenant graph grounding 10 credits, and agent flow actions 13 credits per 100 actions. Credits can be bought as prepaid capacity packs (25,000 credits a month, listed at 200 US dollars a month) or consumed through pay-as-you-go billing linked to an Azure subscription. Rates and prices change, so the architect checks the current Microsoft licensing guide before the estimate goes to finance.
| Event | Count per notice | Credits each | Credits |
|---|---|---|---|
| Classic answers from intake topics | 10 | 1 | 10 |
| Generative answers (opening, guidance) | 3 | 2 | 6 |
| Agent actions (tool calls) | 4 | 5 | 20 |
| Agent flow actions (create, store, notify) | 40 | 0.13 | 5.2 |
| Total per completed notice | 41.2 |
With 1.4 conversations per notice, Bram multiplied by 1.4 and rounded the planning figure to 58 credits per completed notice to cover abandoned and question-only conversations. At 70 of every 100 of 260 monthly notices (182 notices), that is about 10,500 credits a month, and a storm month might double it.
He then checked the estimate against Quillfield's existing Copilot Studio capacity. Hamish's allocation for production agents was already committed: 30,000 credits a month for the Policy Service Assistant, 6,000 for the HR Leave Assistant and 4,000 for the Claims Questions child agent, with 2,000 unallocated across the tenant. Retiring Claims Questions, as lesson 6 recommended, would free 4,000; with the unallocated 2,000 that made 6,000, short of the 10,500 needed and well short of a storm month. Bram's recommendation was one additional capacity pack for the first year, with a per-agent monthly limit and alerts set at 15,000 credits for the intake agent, and a review after three months of actual data.
The Claims Desk declarative agent for advocates had a different cost model. For users with Microsoft 365 Copilot licenses, use of agents in Microsoft 365 Copilot is largely covered by the license, although some agent capabilities can still consume credits. Bram recorded this as an item to confirm against current licensing terms rather than assume.
The hail triage model added Azure consumption. Ngozika estimated a fraction of a cent per image at expected volumes; the cost that mattered was the partner engagement and the data science time to maintain the model.
Total cost of ownership and return
The business case from lesson 2 now had cost figures. Bram's total cost of ownership over three years included one-time costs (design, build, content clean-up, the BrokerDesk endpoint, testing, change management) and running costs (credits, Azure consumption, licenses, support and maintenance, model monitoring, and an annual design review). He presented costs in ranges, not single figures, and showed which assumptions drove them: adoption rate, conversations per notice, storm frequency.
On the benefit side, the released contact center capacity (lesson 2), less advocate time chasing missing details, and fewer late notifications formed the measurable core. Lorne asked the question finance always asks: "What would make this not worth doing?" Bram had the answer ready: if fewer than 30 of every 100 notices came through the agent after six months, the solution would cost more per notice than the phone process. That became a decision point in the proof-of-concept plan.
Worked problem
Estimating storm-month credits
Using Bram's planning figure of 58 credits per completed notice, estimate credits for a storm month with 450 notices, of which 70 of every 100 come through the agent. Compare with the 15,000-credit monthly limit.
Show solution
- Notices through the agent: 450 multiplied by 0.7 is 315.
- Credits: 315 multiplied by 58 is 18,270.
- Compare: 18,270 exceeds the 15,000 limit by 3,270 credits.
- Decide in advance: the limit should alert, not stop the agent, in storm conditions; Hamish can draw on unallocated capacity or pay-as-you-go overage for that month.
Answer: About 18,300 credits. The design sets the limit to alert at 15,000 and records a storm procedure, because stopping intake during a storm would defeat the solution's purpose.
Recording non-functional requirements
Bram kept non-functional requirements in a single table, each with a measure, a target, a test and an owner, just like functional requirements. The table also recorded which requirements the proof of concept would test (latency, peak load on a smaller scale, credit consumption per notice) and which would only be confirmed in production (storm peaks, long-term availability).
Monitoring the non-functional requirements
A non-functional requirement that nobody measures after launch quietly stops being a requirement. Bram's design named a measurement source for each one, so that the operating team could see whether the solution was still meeting its targets months later.
Volume and peaks come from Copilot Studio analytics and the count of Claim Notice rows by hour. Latency comes from Application Insights telemetry, which records how long each turn and tool call takes; a weekly report would show the slowest turns, not only the average, because averages hide the experiences clients complain about. Availability comes from synthetic checks, in which a scheduled test conversation runs against the website agent every few minutes and raises an alert if it fails. Credit consumption comes from the Copilot Studio capacity reports in the Power Platform admin center, reviewed monthly by Hamish and compared with the planning figure. Accessibility is checked at each major release with assistive technology users, not only automated tools.
He also asked for one combined view for the claims manager: notices received, time to carrier notification, queue length, and credits consumed this month against the limit. During a storm, that view would tell the team within minutes whether the solution was coping and whether the human review queue needed more people.
Revisiting estimates with real data
Every estimate in this lesson was a planning figure. The proof of concept would replace several of them with measurements: conversations per notice, credits per notice, turn latency and advocate review time. Bram scheduled a formal update of the non-functional requirements and the cost model at the end of the proof of concept, and again after three months in production. Estimates that are never revisited become the numbers people remember, even when reality has moved on.
Common mistakes
MistakeDesigning for the average month.
InsteadDesign for realistic peaks, such as a storm, and budget for the average.
MistakeIgnoring the human step when estimating capacity.
InsteadCheck that reviewers can keep up, and design triage for the queue.
MistakeSetting no latency targets for conversations.
InsteadSet a per-turn budget and test against it.
MistakeEstimating credits from guesses about "a few messages".
InsteadCount events per completed task by type, add overhead for incomplete conversations, and check current rates.
MistakeSetting a hard spending stop on a service that matters most in emergencies.
InsteadUse alerts and a pre-agreed procedure for exceptional months.
Summary and key terms
- Estimate volume from the baseline, adjusted for adoption, conversation overhead and peaks; check every component, including human reviewers, against the peak.
- Set a latency budget per turn and protect it with topics, short synchronous paths, early responses, suitable models and narrow grounding.
- Design graceful degradation so that a failing dependency reduces capability rather than losing client information.
- Include accessibility and language requirements from the start.
- Estimate Copilot Credits by counting events per completed task at current rates, add overhead, compare with allocated capacity, and set per-agent limits and alerts.
- Present total cost of ownership in ranges with explicit assumptions, and define what would make the solution not worth doing.
- Latency budget
- A target time for a step or turn, divided among its components.
- Graceful degradation
- Designing a solution so that a failing component reduces capability without total failure or data loss.
- Copilot Credits
- The consumption currency for Copilot Studio agents, charged by event type.
- Capacity pack
- A prepaid monthly allocation of Copilot Credits.
- Pay-as-you-go
- Consumption billing linked to an Azure subscription, charged for actual use.
- Peak load
- The highest realistic demand a solution must handle.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Why did Bram add a triage view to the advocate queue?
Show answer
The agent could take notices faster than advocates could review them, so the queue needed sorting by urgency and damage category.
What happens if BrokerDesk is unavailable when a client reports a loss?
Show answer
The agent still accepts the notice into Dataverse without a policy match; matching happens later.
How did Bram arrive at 58 credits per completed notice?
Show answer
About 41.2 credits per completed notice, multiplied by 1.4 conversations per notice and rounded.
What finding would make the solution not worth doing?
Show answer
Fewer than 30 of every 100 notices coming through the agent after six months.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.