soak

command
v0.0.0-...-db76e96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 18 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL