Problem
While control/examples/loadtest_runner.rs exists, there's no:
- Automated performance benchmarking
- Baseline latency/throughput numbers
- Performance regression detection in CI
Impact
- Performance regressions can ship unnoticed
- No data to compare against other proxies (Envoy, nginx)
- Hard to validate optimization work
Suggested Fix
-
Add criterion benchmarks for hot paths:
- Maglev lookup
- Router path matching
- Header filtering
-
Add load test to CI (optional, on release branches):
- Use wrk or hey against deployed RAUTA
- Capture p50/p95/p99 latencies
- Fail if regression > 10%
-
Document baseline numbers in README:
- Requests/sec at various concurrency levels
- Memory usage under load
- Comparison with similar proxies
Files
control/examples/loadtest_runner.rs (existing, needs integration)
- New:
benches/ directory for criterion
Problem
While
control/examples/loadtest_runner.rsexists, there's no:Impact
Suggested Fix
Add criterion benchmarks for hot paths:
Add load test to CI (optional, on release branches):
Document baseline numbers in README:
Files
control/examples/loadtest_runner.rs(existing, needs integration)benches/directory for criterion