CertPrep
Domain 3 · Lesson 3.3 · 7 min read

Relieving the Binding Performance Constraint

Exam skillRelieving the Binding Performance Constraint

Evaluating candidate configuration changes (retrieval depth, model tier, caching, call pattern) for a system whose dominant constraint is accuracy or latency, and selecting the change that relieves the binding constraint at least cost to the other.

For a system bound by accuracy or latency, compare candidate changes (retrieval depth, model tier, caching, call pattern) and choose the one that relieves the binding constraint at the least cost to the other.

What you need to know

Most configuration choices trade accuracy against latency (and usually cost). The architect's job is to know which dial moves which outcome, find the constraint that is actually tight, and defend each setting with numbers.

The dials

SettingEffect on accuracyEffect on latency
Model tierLarger tiers handle harder reasoningLarger tiers are slower
Extended thinking and effortOften better on multi-step problemsAdds thinking time and tokens
Prompt and context sizeRelevant context helps; clutter hurtsMore input takes longer to process
Prompt cachingNo changeFaster on cache hits
Retrieval depth and rerankingMore candidates and reranking find better passagesEach adds a step
Sequential versus parallel tool callsNo changeIndependent calls in parallel finish sooner
Output length limitsToo short truncates answersShorter outputs finish sooner
StreamingNo changeMuch faster perceived latency: the first words arrive early
Batch processingNo changeMuch slower (hours), much cheaper; for work no one waits on

Find the load-bearing setting

When a design has both a latency target and an accuracy target, one of them is usually binding. Ask: which setting, if relaxed, would break the tightest budget? That is the setting to protect, and the one to justify most carefully.

  • If latency is binding: keep thinking low or off, use a faster tier where the evaluation allows, cache the stable prefix, run independent tools in parallel, stream the response, and skip reranking unless retrieval quality demands it.
  • If accuracy is binding: spend latency where the evaluation shows a gain (a stronger tier, more thinking, reranking) and recover time elsewhere (caching, parallel calls, streaming, fewer retrieved chunks).

Perceived versus actual latency

Streaming does not make the full answer arrive sooner, but users see progress within a fraction of a second, which is what most chat experiences need. For a backend step whose output is parsed before anything is shown, streaming does not help; the full time is what counts.

Different routes, different settings

One application rarely needs one configuration. A chat route may use a small tier, no thinking and streaming; a nightly analysis job on the same data may use a larger tier, more thinking and batch pricing. Configure per route, not per application.

In the exam

Binding-constraint items give measurements against an accuracy floor and a latency limit and several candidate changes. Identify which constraint binds, then pick the change that relieves it while staying inside the other: fewer retrieved passages or caching when latency binds and accuracy has margin, more context or a stronger tier when accuracy binds and latency has room. Distractors improve the constraint that is already met, or break the other one.

Check your understanding

Question 1

A chat assistant meets its accuracy target, but users complain it feels slow. Full answers take 4 seconds. Which change improves the experience most cheaply?

Show answer

Answer: D. Users experience the time to the first words. Streaming cuts perceived latency without touching accuracy; the other options leave latency the same or make it worse.

Question 2

An agent calls three independent APIs one after another, each taking about 800 ms. What reduces latency without affecting accuracy?

Show answer

Answer: C. Independent tool calls can run at the same time, saving over a second per turn with no change to what the model sees or decides.

Question 3 · select 2

A nightly job analyses 20,000 documents with no user waiting. Which TWO choices fit?

Show answer

Answer: A, D. With no one waiting, latency is not binding. Batch pricing cuts cost, and the time budget can go to whatever improves accuracy.

Apply it: Justify Hollis & Grant's chat configuration

Exercise · about 15 minCase: Hollis & Grant Home

Hollis & Grant's chat route must reply within 3 seconds at the 95th percentile and stay within its accuracy threshold. A test at peak load shows: balanced tier, extended thinking on, no caching, order and returns tools called one after the other, hybrid retrieval with reranking on every product question, no streaming. Results: 95th-percentile latency 6.1 seconds; accuracy 2 points above the threshold.

  1. Name the binding constraint and explain how you know.
  2. List the changes you would make, in order, with the effect you expect from each.
    Done when: each change says whether it affects accuracy, latency or both.
  3. Say what you would measure before accepting the new configuration.
Check your work
Show model answer

1. Binding constraint. Latency: it misses by more than 3 seconds, while accuracy has a 2-point margin. Any change may spend at most that margin.

2. Changes, in order

ChangeExpected effect
Cache the 6,000-token stable prefixFaster on every request; no accuracy change
Call the order and returns tools in parallelRemoves one round trip on returns contacts; no accuracy change
Stream the replyFirst words under a second; full time unchanged
Evaluate with thinking offLikely the largest saving; accept only if accuracy stays above threshold
Rerank only when the top hybrid results are close in score, or rerank fewer candidatesSaves a step on most product questions; check retrieval recall
Small tier for order-status phrasing onlyFaster on the highest-volume route; facts come from the tool, so risk is low

3. Before accepting. A peak-load test reporting 95th-percentile total latency and time to first words, the full accuracy evaluation with the product-question slice reported separately, and retrieval recall with the new reranking rule. Accept only if latency is under 3 seconds and accuracy is still above threshold.

Key termsRerankingStreaming

Sources