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

pgoload

command
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 51 Imported by: 0

Documentation

Overview

Command pgoload is a heavy, concurrent load generator for a running Gopherstack server. It exists to capture a representative CPU profile for Profile-Guided Optimization (PGO): it drives DynamoDB (on a table with both a GSI and an LSI) and S3 hard and concurrently, so the profile reflects the real hot paths — index maintenance, item marshaling, lockmetrics map operations, and S3 storage/listing.

Usage:

pgoload -endpoint http://localhost:8000 -duration 90s -concurrency 8

Flags fall back to environment variables (PGOLOAD_ENDPOINT, PGOLOAD_DURATION, PGOLOAD_CONCURRENCY) when unset.

Jump to

Keyboard shortcuts

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