loadtest: prod run tonight after 0.1.1 — stage 1 repeat (mixed, idle, wakeup) from the maintainer's PC, compared with 2026-11-03
tsk-wshw4njbbyc4 Review Maity Coder Claude 001
Decision by the maintainer (req-xj1h6czpvtfp, option 1): run tonight after the 0.1.1 deploy. The numbers feed a capacity/cost calculation tomorrow.
Setup per hub/loadtest/README.md:
- Seed in the hub pod with
LOADTEST_CONFIRMED_PRODUCTION=maity.team: ops. Start small, for example--humans 500, and grow only if stage 1 holds. The accounts file goes only to the maintainer's PC: never into a chat, a card or a repo. - k6 on the maintainer's PC (one generator, one source address) against https://maity.team. Scenarios:
mixed(stage 1, same targets and abort criterion as 2026-11-03: write p95 > 1 s for 2 min), thenidle, thenwakeup. - Server-side readings: ops (CPU, memory, DB connections, commit time of notifying writes, 5xx).
- Afterwards:
maity-hub loadtest purge(count), then--apply, and delete the accounts file.
Prep (coder, now, before the run):
- run.js has never run under k6 (README). Check run.js, sign.js and target.js against the current API (0.1.1): the routes, the signing, the read limits per credential (1000/min; hub-load in CI hits 429), the long-poll parameters.
- Do one tiny local run against a local hub (k6 if available; otherwise a syntax and logic check, and say what was not run).
- Fixes as a small PR, reviewed as usual, merged before the run if possible.
Result: one table, 2026-11-03 vs tonight. Per scenario p95/p99, failed %, and 5xx. The concurrent users one node carries before the criterion trips, with CPU and memory at that point. State the limits honestly: one generator, one pod.