Disclosure: This site may earn affiliate commissions or paid placements. Editorial and diagnostic content is produced independently. See our full disclosure.

Diagnose before you deploy.

A deterministic, zero-dependency workbench that models pipeline latency, throughput, and cost — entirely in your browser. Pick a preset, tune the inputs, run the rules, and export a verifiable spec receipt.

metropolitandiagnostic.com · no backend · no tracking · all math is ES2022

Define the scenario

Choose a reference preset or enter custom values. All inputs are validated client-side; out-of-range values are rejected with a clear error.

Reference presets

The four built-in scenarios mirror common pipeline shapes. Sweep any of them in the workbench above; presets are data, not code — the same math applies to your own inputs.

PresetOrigin latency (ms)Edge hit rateTarget req/s$/1k reqPayload (KiB)Nodes

Methodology

Effective latency

Weighted blend of origin latency and a fixed 6 ms edge latency, proportional to edge hit rate. Deterministic — same inputs, same output, every time.

Capacity model

Nodes × 1000 divided by effective latency, discounted by a payload-size factor (1 + KiB/500). A deliberately simple bound for comparison, not a load-test substitute.

Cost model

Sustained monthly cost = requests/month ÷ 1000 × price per 1k, plus a 0.9 $/KiB-over-256 egress surcharge for large payloads.

Receipt integrity

Exports embed a SHA-256 hash over the canonical JSON of inputs and outputs. Anyone can re-run the math and verify the receipt matches.