High-performance edition of Chimera for performance testing.
378
A high-performance HTTP echo server built on Axum for Web Application Firewall (WAF) throughput benchmarking and latency attribution. Part of the Chimera WAF testing toolkit.
docker pull nickcrew/chimera-api-hp:latest
docker run --rm -p 8890:8890 nickcrew/chimera-api-hp
Provides a near-zero-overhead HTTP endpoint that mirrors every incoming request back as JSON. Designed as a baseline for measuring WAF performance — any latency or throughput degradation you observe is attributable to the WAF, not the backend.
gcr.io/distroless/cc-debian12:nonroot)linux/amd64 + linux/arm64| Route | Method | Description |
|---|---|---|
/healthz | GET | Liveness probe — {"status": "healthy"} |
/echo | ANY | Mirrors method, path, headers, query params, body as JSON |
/echo/{*rest} | ANY | Same, with wildcard subpath capture |
/status/{code} | GET | Returns the requested HTTP status code |
Add ?delay_ms=N to any /echo request to inject simulated latency (capped at 5000ms) — useful for testing WAF timeout behavior.
# Start the server
docker run --rm -d --name echo -p 8890:8890 nickcrew/chimera-api-hp
# Echo a request
curl -X POST 'http://localhost:8890/echo?source=load-test' \
-H 'Content-Type: application/json' \
-d '{"payload": "hello"}'
# Response:
# {
# "method": "POST",
# "path": "/echo",
# "query": {"source": "load-test"},
# "headers": {...},
# "body": {"payload": "hello"},
# "body_size": 20,
# "timestamp": "2026-04-12T04:51:08.556493+00:00"
# }
# Trigger arbitrary status codes
curl -i http://localhost:8890/status/418 # I'm a teapot
docker stop echo
Configured via environment variables:
| Variable | Default | Description |
|---|---|---|
PORT | 8890 | TCP port to bind |
RUST_LOG | info | Log level (error, warn, info, debug, trace) |
| Tag | Description |
|---|---|
latest | Most recent release |
0.1.1 | Specific version (semver patch) |
0.1 | Latest in 0.1.x line (semver minor) |
sha-<commit> | Pinned to a specific git commit (immutable) |
For production use, pin to a specific version or commit SHA rather than latest.
Runs as a non-root user (UID 65532, distroless nonroot) with no shell, package manager, or writable filesystem outside /tmp. The image surface area is the Rust binary plus the minimal cc-debian12 runtime.
Content type
Image
Digest
sha256:db4a1f286…
Size
9.6 MB
Last updated
5 months ago
docker pull nickcrew/chimera-api-hp