load

command
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Command load drives a real halo-proxy binary against mock upstreams and reports added latency, throughput, errors, memory/goroutine growth over a soak, failover + circuit-breaker behaviour, and long-lived SSE integrity.

go build -o bin/halo-proxy ./cmd/halo-proxy && go run ./test/load -bin bin/halo-proxy

Gating (nightly soak): -json-out writes a summary, -baseline compares p99 against a stored summary, and the soak fails on heap / goroutine growth slopes (see the flag docs).

Target mode (-target URL) drives an already-running proxy instead (scripts/uat-k8s.sh uses it to prove zero client-visible errors across pod kills and rolling upgrades).

Jump to

Keyboard shortcuts

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