Something went wrong. Try again.
xburner is an experimental HTTP and gRPC load generator written in Zig.
Something went wrong. Try again.
Install Guide #
xburner can currently be used in two ways:
- download a release archive
- pull the container image
- build from source
Release Archives #
Release archives are published for tagged releases.
Each archive contains:
xburnerxburner-binlib/when platform-specific runtime libraries are bundledREADME.mdCHANGELOG.mdLICENSENOTICEINSTALL.mdlicenses/
Typical flow:
tar -xzf xburner-<version>-<target>.tar.gz
cd xburner-<target>
./xburner --version
xburner is a launcher script. When bundled shared libraries are present, it arranges the runtime library path and then execs xburner-bin.
Container Image #
Release tags also publish a multi-architecture container image to GHCR:
docker pull ghcr.io/ucpr/xburner:<version>
docker run --rm ghcr.io/ucpr/xburner:<version> --version
To run a scenario, mount the config into the container:
docker run --rm \
-v "$PWD:/configs:ro" \
ghcr.io/ucpr/xburner:<version> run /configs/scenario.toml
Examples:
Build From Source #
Requirements:
- Zig
0.15.2 - Git
- Go
- CMake
- Python 3
- a working C/C++ toolchain
- Homebrew
grpc - Homebrew
pkgconf
Setup:
brew install grpc pkgconf go
sh scripts/init.sh
zig build -Doptimize=ReleaseFast
./zig-out/bin/xburner --version
Workflow Guest Sample #
To rebuild the sample workflow guest after building the host binary:
sh scripts/build_workflow_sample_wasm.sh
Language-specific helpers are also available:
sh scripts/build_workflow_wasm.sh path/to/guest.c path/to/guest.wasm
sh scripts/build_workflow_rust_wasm.sh path/to/guest.rs path/to/guest.wasm
sh scripts/build_workflow_go_wasm.sh path/to/guest.go path/to/guest.wasm
Validation examples:
./zig-out/bin/xburner validate path/to/scenario.toml
./zig-out/bin/xburner validate --wasm-backend wasm3 path/to/go-scenario.toml
Current note:
- the Go helper targets
wasip1and is validated with thewasm3backend
Notes #
- release archives are intended for running the host binary, not for rebuilding third-party dependencies
- source builds remain the recommended path for development and CI