scale

command
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command scale measures how much load one Stampede process can generate before the generator, not the target, becomes the limit. It starts the echo server as a separate process (fixed 1ms delay) and runs the engine at rising arrival rates. A level is clean when every planned iteration started (none dropped), the achieved rate is within 2% of the plan and the p99 scheduling lag stays under 10ms. The result is the highest clean rate on this machine, with its CPU count, so figures from different machines can be compared.

go run ./bench/scale                     # 5s per level
go run ./bench/scale -levels 1000,5000,20000 -hold 10s -out scale.json

Jump to

Keyboard shortcuts

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