Documentation
¶
Overview ¶
Command soak drives N concurrent full runner↔viewer sessions through a real relay, carrying traffic and periodically forcing reconnect storms, then reports throughput, the session-cap behavior, and the relay's resident memory over the run. It is a load/leak harness, not a correctness test — it asserts only "no crash, the cap holds, memory does not run away" and prints capacity numbers for deploy sizing.
Usage (against a running relay; `make soak` boots one for you):
ONLYTTY_SERVER=http://127.0.0.1:4000 go run ./runner/cmd/soak -n 50 -duration 60s
E2E is preserved: like every viewer, this one only ever sees ciphertext it can decrypt with keys it derived locally — the harness measures sizes and liveness, never plaintext on the wire.
Click to show internal directories.
Click to hide internal directories.