Help us shape the future of Go! Take the 2026 Go Developer Survey

load

command
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Command berth-load is the API-level load driver for Berth (scalability Phase 3). It drives the lease API through pkg/client under a named scenario and prints a JSON latency summary; optionally it serves its own /metrics so a Prometheus can scrape the driver during a run. It is a test/dev tool — not a shipped binary — run with `go run ./test/load`.

Example:

go run ./test/load \
  --target=https://berth.example.com:8443 --ca-file=ca.pem \
  --api-key-file=/etc/berth/token --scenario=steady \
  --leases=2000 --pairs=8 --ttl=30s --heartbeat=10s --duration=5m

Jump to

Keyboard shortcuts

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