loadtest/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package chaos drives a load run's faults: it fires each of the scenario's faults at its time against the managed target and the simulated fleet, heals it, and records when it did both.
Package chaos drives a load run's faults: it fires each of the scenario's faults at its time against the managed target and the simulated fleet, heals it, and records when it did both.
Package client is the load harness's REST and WebSocket client for a running sqi-server.
Package client is the load harness's REST and WebSocket client for a running sqi-server.
Package dbfault holds the faults a chaos run applies to the store from outside the server.
Package dbfault holds the faults a chaos run applies to the store from outside the server.
Package diskfill fills a volume, so a chaos run can make a disk full without writing anything of the server's or a worker's own.
Package diskfill fills a volume, so a chaos run can make a disk full without writing anything of the server's or a worker's own.
Package driver generates and submits the load a scenario describes.
Package driver generates and submits the load a scenario describes.
internal
proctest
Package proctest helps the load harness's tests check on the processes a run started.
Package proctest helps the load harness's tests check on the processes a run started.
sleep
Package sleep holds the load harness's context-aware sleeps.
Package sleep holds the load harness's context-aware sleeps.
testserver
Package testserver starts a full in-process sqi-server (SQLite, embedded NATS, scheduler and HTTP) for the load harness's own tests.
Package testserver starts a full in-process sqi-server (SQLite, embedded NATS, scheduler and HTTP) for the load harness's own tests.
Package marker records what a load run's real tasks did, in files under a directory the harness owns: one exec file per process the no-op command started, refreshed while the process lives, and one output file per task key, appended to by every process that writes the task's output.
Package marker records what a load run's real tasks did, in files under a directory the harness owns: one exec file per process the no-op command started, refreshed while the process lives, and one output file per task key, appended to by every process that writes the task's output.
Package measure holds the harness's measurement primitives: a mergeable latency histogram, named time series and growth slopes.
Package measure holds the harness's measurement primitives: a mergeable latency histogram, named time series and growth slopes.
Package netfault is a TCP proxy that a load or chaos run puts between a client and a server so it can cut, blackhole or shape the connection without touching either end.
Package netfault is a TCP proxy that a load or chaos run puts between a client and a server so it can cut, blackhole or shape the connection without touching either end.
Package observe samples a load run into time series: the server's /metrics, the disk its state occupies, JetStream stream state, pprof profiles, and the load generator's own health, which decides whether the run is valid.
Package observe samples a load run into time series: the server's /metrics, the disk its state occupies, JetStream stream state, pprof profiles, and the load generator's own health, which decides whether the run is valid.
Package report turns a finished load run into the files an operator reads: the run record (run.json), summary.md and series.csv, the findings rules that flag suspicious behavior, run-against-run comparison, the merge of shard records and the knee of a sweep.
Package report turns a finished load run into the files an operator reads: the run record (run.json), summary.md and series.csv, the findings rules that flag suspicious behavior, run-against-run comparison, the merge of shard records and the knee of a sweep.
Package runner runs one load scenario end to end against an sqi-server and writes its record.
Package runner runs one load scenario end to end against an sqi-server and writes its record.
Package scenario defines the load harness's scenario file: the YAML schema, its defaults, its validation and the --set overrides applied on top of it.
Package scenario defines the load harness's scenario file: the YAML schema, its defaults, its validation and the --set overrides applied on top of it.
Package simworker is the load harness's simulated worker: a process-light stand-in for sqi-worker that speaks the real worker protocol through the real worker packages (lease, heartbeat, status, logstreamer, cancel), so a protocol change breaks its build rather than skewing its numbers.
Package simworker is the load harness's simulated worker: a process-light stand-in for sqi-worker that speaks the real worker protocol through the real worker packages (lease, heartbeat, status, logstreamer, cancel), so a protocol change breaks its build rather than skewing its numbers.
Package target provides the sqi-server a load run drives: a managed one the harness starts, configures and stops itself, or an attached one somebody else runs, on which the harness creates and later deletes its own farm.
Package target provides the sqi-server a load run drives: a managed one the harness starts, configures and stops itself, or an attached one somebody else runs, on which the harness creates and later deletes its own farm.
noop command
Command noop is the task a load run's real workers execute.
Command noop is the task a load run's real workers execute.
Package verify decides whether a load run passed.
Package verify decides whether a load run passed.

Jump to

Keyboard shortcuts

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