Skip to content

Response times and cost

A fix that stops an outage is easy to want. The question that follows is always “what will it cost, and will it slow anything down?” While a scenario plays, Flozu estimates three things to answer it: how long requests take where traffic starts, how much of that traffic fails, and what the map costs to run.

On the Checkout system map on Black Friday, shoppers’ requests take about 39 ms, and 95% are done within about 78 ms. Give its parts running costs, as Make the case for a fix does, try a standby region for Region down, and the comparison says: “After, nobody notices, for about $1,241 a month more.” That’s a decision you can take to your team.

These are estimates, worked out from the map by fixed rules, so they’re a guide for comparing one design with another rather than a measurement.

The Estimates section on Black Friday: Shoppers' requests take about 39 ms, and 95% are done within about 78 ms, with none of their traffic failing, and running costs of about $1.18 an hour, $861 a month at that rate and $28.32 for the whole scenario.The Estimates section on Black Friday: Shoppers' requests take about 39 ms, and 95% are done within about 78 ms, with none of their traffic failing, and running costs of about $1.18 an hour, $861 a month at that rate and $28.32 for the whole scenario.

Estimates, under Time and cost in What happens, lists each part where traffic starts, such as your shoppers, with:

  • How long requests take, typically, and the time 95% of them are done within. It adds the slowest moment when that’s well past the rest, or when some requests time out.
  • How much of its traffic fails, across the scenario and at its worst. That’s everything a failure breaks, what a limit or a full buffer turns away, and what waits so long it times out.

Then Running costs, once a part has a cost: what the map costs an hour on average, a month at that rate, and for the whole scenario, and an hour at its dearest moment. Select it to see the parts that cost something, at that moment.

Hover over a part’s health strip on the canvas to see roughly how long it takes at the playhead, such as “about 140 ms each”.

Select a part and open its Traffic tab:

Field What it sets
Takes How long it takes to handle one request while it has room, in milliseconds. Left empty, it takes a typical time for its kind, shown in the field.
Costs What it costs to run for an hour, in dollars. For a part that auto-scales, what one copy costs, and a scenario adds up the copies it runs.

A queue or topic only holds work, so it has a cost but no time. People and apps where traffic starts have neither.

A part with no time of its own takes the typical time for its kind:

PartTakesA new copy starts in
DNS20 msNone
CDN20 msNone
Firewall2 ms60 s
Gateway5 ms60 s
Sign-in100 ms2 min
Load balancer1 ms60 s
Rate limiter1 ms30 s
Service50 ms90 s
Worker500 ms90 s
Function100 ms2 s
SchedulerNone60 s
AI model2 s5 min
Queue5 ms2 min
Topic5 ms2 min
Database10 ms10 min
Cache1 ms5 min
Storage50 ms60 s
Data warehouse2 s2 min
Endpoint50 ms90 s
Module10 ms90 s
Code file5 ms90 s
Table5 ms10 min
Custom part50 ms2 min

Fixes come with what they cost, where the parts have one:

  • Time and cost advice says what keeping more copies warm costs a month, or what letting a part scale in saves.
  • On the Compare screen, the verdict adds the change in cost, such as “After, nobody notices, for about $310 a month more”. Below it, Requests take, typically shows where requests got faster or slower, where none of them fail on either map, and Running costs what each map costs a month at that rate.