Scrivio Interview library
ScenarioIntermediate6 min read · updated 13 November 2026

A team spent three months building a streaming pipeline with sub-second updates for an inventory dashboard because the product brief said 'real-time'. After launch it turned out managers open the dashboard twice a day, and the pipeline costs more than the warehouse system it reads from.

What went wrong in the requirements, and how do you turn vague words such as real-time, fast and always available into requirements a design can be tested against?

The team accepted the word 'real-time' without asking what decision the dashboard supports, how often people look at it and what a delay would cost; a 15-minute refresh would have met the real need. Vague words must become measurable targets, such as 'data no older than 15 minutes at the 99th percentile', with a price attached to each option so the product owner can choose, and acceptance criteria that can be tested before launch. Now we measure real use and either simplify to periodic batch updates or find consumers who truly need the stream.

Why this question is asked

'Real-time', 'fast' and 'always available' appear in almost every product brief, and each of them can cost ten times more to deliver than the business actually needs. This scenario is common: a team builds sub-second streaming for a dashboard that two managers open twice a day. Interviewers ask about it to see whether we treat requirements as something to question and price, not just to implement. In this answer, we will look at what went wrong, translate vague words into testable targets, attach costs to options, write acceptance criteria, and decide what to do with the pipeline that already exists.

1What Went Wrong

Nobody asked the questions behind the word. 'Real-time' was treated as a specification when it was really a feeling: the product owner wanted the numbers to be current. The useful questions would have been: what decision does someone make from this dashboard, how often do they look at it, and what goes wrong if the number is 5 minutes old, or 15, or an hour?

For an inventory dashboard used by managers to plan reordering, the answers would likely have been 'reorder decisions', 'twice a day' and 'nothing much if it is under an hour'. A job that refreshes every 15 minutes from the warehouse database, or from a read replica, would have met that need with a fraction of the engineering effort and running cost. Three months of work went into a property, sub-second freshness, that no user could even notice.

2Turning Vague Words Into Measurable Targets

A requirement a design can be tested against has a quantity, a percentile or a window, and a definition of failure. Freshness becomes 'the data shown is no older than N minutes, at the 99th percentile'. Latency becomes 'p99 under 300 ms at 2,000 requests per second'. Availability becomes '99.9 percent of minutes in a month in which the dashboard loads successfully within 3 seconds'. The table shows the translation for the three most common words.

From vague words to testable targets
Vague wordQuestion to askTestable target
Real-timeWhat decision, how often, cost of delay?Data age under 15 min at p99
FastWhich action, at what load?Page p99 under 1 s at 200 concurrent users
Always availableWhat counts as down, over what window?99.9 percent of minutes per month load OK
ScalableHow much growth, by when?Handles 3x current peak with no redesign

3Attaching a Price to Each Option

Engineers often stop at 'seconds is harder than minutes'. That is not enough for a product owner to decide. We should put a cost and a delivery time on each option. For example: sub-second streaming with Kafka, change data capture from the warehouse database and a stream processor, three months to build and around 9,000 dollars a month to run plus on-call; a 15-minute batch refresh with a scheduled query into a reporting table, two weeks to build and a few hundred dollars a month; an hourly refresh, a few days.

We also ask for the cost of missing the target. If stale inventory numbers occasionally caused a stock-out worth a lot of money, the expensive option might be justified. If the cost of staleness is close to zero, the cheap option wins. Framed this way, the product owner is choosing between 'seconds for 9,000 a month' and 'fifteen minutes for a tenth of that', which is a business decision they are well placed to make.

4Writing Acceptance Criteria Before Building

A target that cannot be checked will drift. So we write acceptance criteria that can be tested before launch and watched after it. For freshness, the dashboard shows the time of its last successful refresh, and a metric records data age; an alert fires if it exceeds the target. For latency, a load test at the stated peak verifies the percentile. These criteria also protect the team: if the product owner later says 'it is not real-time enough', the conversation is about a number, not a feeling.

SQL
-- freshness check, run every minute by the monitoring job
SELECT EXTRACT(EPOCH FROM now() - max(updated_at)) AS data_age_seconds
FROM inventory_snapshot; -- 412
-- target: 15 minutes = 900 seconds
-- alert when data_age_seconds > 900 -- false: 412 < 900, no alert

The point of a small check like this is that the requirement becomes something the system measures about itself, not a sentence in a document.

5What to Do With the Pipeline Now

The pipeline exists and costs more than the system it reads from. Before deleting it, we measure: how often is the dashboard opened, by whom, and how fresh does the data need to be for those uses? We also look for other consumers who genuinely need the stream, for example a replenishment service that reorders automatically when stock falls below a threshold, or fraud checks on stock movements.

If such consumers exist and get real value, we keep the stream for them and perhaps simplify the dashboard path. If not, we replace the pipeline with a periodic batch job, keep the code in version control, and record the decision. Sunk cost is not a reason to keep running something; the three months are spent either way, but the monthly bill is not.

Step throughDeciding the pipeline's future
  1. Measure dashboard use and needed freshnessOpens per day, decisions made
  2. Other consumers need sub-minute data?Search for real uses
    YesKeep the stream for themNoPlan the batch replacement
  3. Replace dashboard path with 15-minute batchScheduled query into a reporting table
  4. Retire the streaming componentsRecord the decision and the savings

4 steps in order. Play them, or step through them one at a time.

6Follow-up questions

Who should sign off non-functional requirements: product, engineering or both?

Both, with different roles. Product owns the business need and the price they are willing to pay: how fresh, how available, how fast, and what a miss costs. Engineering owns the translation into measurable targets and the cost and risk of each option. The sign-off is a shared decision recorded in the design document, so neither side can later say the target was imposed on them.

Is streaming ever the right choice for a dashboard?

Yes, when people act on the data within seconds, such as an operations room watching live orders or fraud analysts, or when the stream already exists for other consumers and the dashboard is a cheap addition.

How do you push back on a product owner without sounding obstructive?

By offering options with prices instead of saying no. 'We can do seconds for this cost or fifteen minutes for a tenth of it; which matches how the dashboard is used?' turns a disagreement into a choice.

7Conclusion

In this answer, we saw that the failure was accepting 'real-time' without asking what decision it supports, how often the data is viewed and what delay costs. We turned vague words into targets with quantities and percentiles, attached a price to each option so the product owner could choose, wrote acceptance criteria that can be tested and monitored, and decided the pipeline's future from measured use rather than sunk cost.

What to say in the interviewAbout 90 seconds aloud

Open with

The mistake was taking 'real-time' as a specification. Nobody asked what decision the dashboard supports, how often people look at it, or what it costs if the number is fifteen minutes old.

Then, if they want more

Managers looking twice a day to plan reorders would have been perfectly served by a fifteen-minute refresh.

When I get vague words like real-time, fast or always available, I turn each into a target with a number and a percentile: freshness as data no older than N minutes at p99, latency as a percentile at a stated load, availability as a percentage over a month with a clear definition of what counts as failure.

Then I attach a price to each option, both build time and running cost, and ask what missing the target would cost the business, so the product owner chooses between, say, seconds for nine thousand a month and fifteen minutes for a tenth of that.

I write acceptance criteria that can be tested before launch, like a freshness metric with an alert and a load test at peak. For the existing pipeline, I would measure real usage and look for consumers who really need the stream, like automated replenishment. If there are none, I would replace it with a batch job.

Sign-off on these targets should be shared: product owns the need and budget, engineering owns the targets and costs.

About this answer

Last updated
13 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "What went wrong in the requirements, and how do you turn vague words such as real-time...": https://scrivio-interview-library.netlify.app/architecture/sd-fundamentals/8d90db3ae2/