Load tests: what many people at once do to the server, which the browser tests cannot show #133

Closed
opened 2026-10-05 09:51:44 -07:00 by rays · 1 comment
Owner

The browser tests drive one person in one browser against a handful of fixture feeds, one request at a time. Nothing measures what production sees: several people at once, a catalogue of 1,500 feeds, the player saving positions every few seconds while a scan writes, many listeners seeking through files, a flood of sign-in attempts. Slow queries, lock contention and a server that stops answering only show there. Wanted: k6 scripts run against a scratch daemon with a realistic catalogue, with latency and error thresholds that fail the run.

The browser tests drive one person in one browser against a handful of fixture feeds, one request at a time. Nothing measures what production sees: several people at once, a catalogue of 1,500 feeds, the player saving positions every few seconds while a scan writes, many listeners seeking through files, a flood of sign-in attempts. Slow queries, lock contention and a server that stops answering only show there. Wanted: k6 scripts run against a scratch daemon with a realistic catalogue, with latency and error thresholds that fail the run.
rays added the enhancement label 2026-10-05 09:51:44 -07:00
Author
Owner

Done in b43ba89: tests/load, four k6 scripts (browse, listening, media, signin) run by node tests/load/run.js against a scratch daemon with 1,500 generated feeds, with ipx status polled throughout; k6 comes from its apt repository via /src/install.sh. It found #135 (fixed, in 0.10.0), #137 and #138 (fixed), and #136 (left open). Running on Postgres is #139, left open. All four pass with budgets of about twice today's numbers.

Done in b43ba89: tests/load, four k6 scripts (browse, listening, media, signin) run by node tests/load/run.js against a scratch daemon with 1,500 generated feeds, with ipx status polled throughout; k6 comes from its apt repository via /src/install.sh. It found #135 (fixed, in 0.10.0), #137 and #138 (fixed), and #136 (left open). Running on Postgres is #139, left open. All four pass with budgets of about twice today's numbers.
rays closed this issue 2026-10-05 10:41:19 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#133