⚡ PP Load Dashboard

How to read these results

A plain-language guide to the load tests and what the numbers mean.

What this dashboard shows

Each run is one load test against the POS API. A test pushes a growing amount of traffic at the server and records how it responds. The goal is to find the point where the server starts to struggle — the breaking point — so we know the fleet's real limits before customers do.

A run's headline result is one of:

  • Passed — met every performance target that was set.
  • Missed targets — completed, but one or more targets were exceeded.
  • Hit a limit — stopped early because the server got too slow or started failing.
  • Completed — ran to the end; no pass/fail targets were set.
What the numbers mean
p50 / p95 / p9995 out of 100 requests finished faster than this. When p95 climbs while p50 stays flat, the system is starting to queue under load.
ThroughputRequests per second the server handled — the throughput.
Error rateThe percentage of requests that failed (a bad HTTP status, a business error in the body, a timeout, or a dropped connection).
Voucher selling — how much we can sell, and how many tills we can run

There are four selling scenarios, and they answer different questions:

  • voucher-sales-capacity runs every till flat out, back to back. Its till count is the number of simultaneous sales, and its answer is peak throughput.
  • voucher-sales-fleet paces each till to a realistic cadence — one sale every 20 seconds, like a busy shop — and steps the fleet size up.
  • voucher-sales-fleet-2min does the same at an ordinary shop's pace, one sale every two minutes, which supports a much larger fleet for the same sales rate.
  • till-day-in-life is the one to plan a rollout against. Every till lives the full life of a real one — health check every 10 s, settings sync every 20 s, ad and category checks every 2 min — as well as selling. An idle till already makes about 19 requests a minute, so at fleet scale that background traffic is most of the load; the other three scenarios measure only the selling part of it.

The two numbers differ by roughly four times, and that is not a contradiction: a till selling every 20 seconds with a one-second sale is idle about 95% of the time, so a hundred of them are only about five sales in flight. Measured here, ~520 sales/minute at 32 simultaneous tills supports about 125 real tills.

On a fleet run the column to read is Served % — how much of what the fleet asked for actually completed. It moves well before latency does and needs no interpretation: 100% means every till got every sale it wanted, and the level where it falls away is the fleet ceiling.

Both scenarios make real end-to-end voucher sales for a fixed window at each level and report the sales-per-minute each held, the most tills that kept selling healthily, and where it stopped.

Every sale spends a real voucher. Three things keep that safe:

  • It only runs when explicitly asked for (--allow-switch --allow-buy) and is in no default suite.
  • A per-run cap limits how many vouchers may be spent (5,000 by default).
  • The demo-warehouse guard: stock comes out of the buying account's warehouse, so before a single sale the runner resolves every selling account through the warehouse database (device → branch → customer → warehouse) and refuses to start unless all of them trade on the Demo Warehouse. A run that could not prove this shows a red Warehouse UNVERIFIED banner and should not be approved.
Vouchers soldReal vouchers this run sold and received. Every one permanently consumed a voucher from the demo warehouse's stock.
Sustained rateThe best sales-per-minute rate the run held while selling was still healthy — the rate the fleet can be relied on for.
Per hourThe sustained rate carried out to an hour. A planning figure: it assumes selling continues at the healthy rate and nothing else competes for the switch.
Healthy tillsThe most tills that were selling at the same time while sales stayed fast and reliable. On a realistic-fleet run this is a supportable FLEET SIZE (tills on a cadence, mostly idle); on a flat-out capacity run it is the number of SIMULTANEOUS sales, which is a much smaller number for the same system.
Served %How much of the sales the fleet asked for actually completed. 100% means every till got every sale it wanted; the level where this falls away is the number of tills the system can carry.
Late cyclesTimes a till's previous sale was still running when its next one was due — it had fallen behind its own cadence. A handful is normal background noise; a large share means the fleet has outgrown the system.
CadenceHow often each till made a sale on a realistic-fleet run — one sale every this many seconds. 0 means the tills sold flat out instead.
Broke atThe number of simultaneous tills at which selling stopped being healthy. 0 means the run never found the limit — the ramp or the voucher cap ended first.
Time to sell oneHow long a complete sale took, for 95 out of 100 sales, at the busiest healthy level. This is the wait an operator standing at the till actually feels.
RefusedSales the switch declined, almost always an out-of-stock product or a declined account. A stock fact, not the system failing to cope.
FailedSales that errored or timed out. These ARE the system failing, and they are what decides whether a load level counted as healthy.
Stock consumedVouchers the warehouse says left available stock during the run. It should match the number sold; a gap means a sale completed on the switch after the till gave up on it.

Reading the two charts together is the quickest way to see the limit: while sales-per-minute keeps climbing as tills are added, the tills are genuinely independent. When it flattens while the time-to-sell chart climbs, the extra tills are only queueing — that is the ceiling.

Use Download PDF on a run to get the whole thing — result, provenance, every level of the ramp, and a sign-off block — as one document to hand to an approver.

What the server was doing — attributing a limit, not just observing one

Runs against a configured target also sample the server itself every 15 seconds: the API container's CPU and memory, the host's load average, and the number of open TCP connections in both the API container and the front proxy.

This is the difference between knowing a run hit a limit and knowing why. A collapse with the API at 40% CPU says the ceiling is somewhere behind the API — the transaction switch, a database, or a connection limit — and that adding API capacity would not move it. Watch which number climbs fastest: if connections triple while CPU stays flat, the constraint is connection or disk pressure, not compute.

The same section reports the load generator's own CPU. A test that saturates the machine producing the load is measuring that machine, so a run in that state is flagged rather than quietly trusted.

Long single-level runs (10 minutes or more) additionally get a drift verdict — the first quarter of the run compared with the last, at the same load. It answers the question a soak exists to ask: did it get worse simply because it kept going? An average cannot show that, because a healthy first half cancels out a sick second half.

The scenarios
health-baselineRamps plain requests against the health endpoint to find the server's raw request-per-second ceiling — the upper bound everything else lives under.
fleet-pollSimulates a fleet of tills checking in for settings every 20 seconds, like real devices do. Shows how many devices the server comfortably supports.
settings-push-stormAn operator pushing setting changes to many tills at once while the fleet keeps checking in — does bulk remote management slow the devices' normal sync?
admin-fleet-listHow the portal's device-list pages slow down as the number of known devices grows, since those pages read every device record on each view.
cached-feedRamps the cached feeds every till asks for routinely (advertising, product categories, update policy). Shows the ceiling for routine device chatter.
device-secondaryThe device calls that write to databases or read files on every request (ad impressions, update reports, smart screens) — separate from the cached feeds.
update-downloadDownloads the current app release the way devices do, checking the file arrives complete and that an interrupted download can resume.
release-rolloutRelease day: many tills download a new version at once while the rest of the fleet keeps syncing — does a rollout slow normal operations?
switch-probeCarefully increases simultaneous requests to the transaction switch (read-only, no money) to find where simultaneous selling starts timing out.
catalog-refreshThe full product re-download a till performs when its catalog is stale — the heaviest single thing one device asks of the server.
voucher-buy-soakReal (dev) voucher sales end-to-end, to measure how long a complete sale takes and whether the switch stays stable. Uses dev stock; never runs by default.
voucher-sales-capacityHow many vouchers the system can actually sell before selling breaks down. Steps the number of tills selling at once upwards, making real sales at each level, and reports the sales-per-minute each level held, the most tills that kept selling healthily, and where it degraded. Sells only from the demo warehouse, is capped, and never runs by default.
till-day-in-lifeHow many tills can be CONNECTED. Every simulated till lives the full life of a real one — the 10-second health check, the 20-second settings-sync cycle, the 2-minute ad and category checks — as well as selling. Every other scenario measures one activity in isolation, but an idle till already makes about 19 requests a minute, so at fleet scale that background chatter is most of the traffic. This is the number to plan a rollout against. Sells only from the demo warehouse, is capped, and never runs by default.
voucher-sales-fleet-2minHow many tills the system can support when each one sells every two minutes — an ordinary shop's pace, as opposed to a busy one. Same measurement as the 20-second fleet run at a quieter cadence, which supports a far larger fleet for the same sales rate. Sells only from the demo warehouse, is capped, and never runs by default.
voucher-sales-fleetHow many tills the system can support when each one sells every 20 seconds — a busy shop's pace. Each simulated till sells on a realistic cadence (one sale every 20 seconds, like a real shop floor) rather than flat out, and the fleet size is stepped up until the tills stop getting the sales they ask for. The answer is a supportable fleet size, which is far larger than the number of simultaneous sales, because a real till is idle most of the time. Sells only from the demo warehouse, is capped, and never runs by default.
authThe automatic sign-in handshake every till performs on startup, which also writes to the accounts database on each call.
The kinds of failure
httpErrorThe server answered with a failure status (not 2xx).
bodyErrorThe server answered OK at the HTTP level but reported a business failure in the response — check the detail column (often a declined PIN, an out-of-stock product, or an unactivated account).
softEmptyCatalogThe product catalog came back empty without an error — a known switch behaviour under load, tracked separately because it isn't a real failure.
timeoutThe request took longer than the allowed time and was given up on.
connectionErrorThe connection was refused or dropped — the server or switch wasn't accepting the request.
shapeErrorThe response couldn't be understood (unexpected format, or — for downloads — a checksum mismatch).
loadShedThe test itself held back a request because too many were already in flight — a sign the server can't keep up at this rate.
Baselines & degradation flags

Mark a good run as the baseline for its scenario. Later runs are automatically compared to it:

  • Unexpected degradation — a run got meaningfully slower at the same load. This is a regression worth investigating.
  • Expected — load changed — the run was slower, but it also used more load (e.g. more devices), so the slowdown is normal.
  • Improved — faster than the baseline.