Fair turns, unfair work
Change the arrival rate and Server C service, then run virtual time forward. Every number below is counted by the same deterministic model, so the same settings always give the same result.
Moving dots are a few sampled requests, for orientation only. Queue chips, load and the rejected count come from the engine; the numbers count every request. Busy = at least 90% utilised or work waiting; degraded = queue full, so new arrivals are rejected.
Changing a control restarts the run at 0 s with the same seed, so runs stay comparable.
Starting the simulation engine…
All counters
- Offered—
- Accepted—
- Short-circuited—
- Failed—
- Timed out—
- In flight—
- Queued—
- p50 latency—
- p99 latency—
- Latency samples—
Counts are cumulative since 0 s virtual time. Accounting: offered = accepted + rejected + short-circuited.
What this model assumes
- Illustrative model, not a benchmark: the numbers show the shape of the problem and are not measured hardware.
- Arrivals are deterministic and periodic: arrival k occurs at floor(k x 1000 / rate) ms, with no bursts or jitter.
- Each server has its own queue, but all share one queueLimit with no spill-over. Because the limit is shared, one slow server's backlog can cause requests routed to other servers to be rejected.
- Health is known instantly and down servers are skipped. No health-check delay is modelled; the guided story explains that delay.
- No retries are modelled. Latency percentiles include completed requests only; rejected requests are counted separately. Metrics are virtual-time counts, not wall-clock measurements.
- Server C is slower because it has both a longer service time and concurrency 1, while Servers A and B have concurrency 2.
Model load-balancer v1, seed 2026. Simulated by a Rust engine compiled to WebAssembly, running in a Web Worker in your browser; time is virtual, not wall-clock.