Skip to main content
Version: Next

Benchmark (proxy overhead)

End-to-end overhead is measured by queryflux-bench (cargo run --bin queryflux-bench after cargo build --bin queryflux). It uses mock backends (Trino HTTP + MySQL wire for StarRocks), 50 warmup queries per path, then 500 timed iterations of SELECT 1 — direct to the mock vs the same request through QueryFlux (Trino HTTP frontend). Numbers vary by machine; CI can track trends via .github/workflows/benchmark.yml.

Trino (mock HTTP coordinator)

p50p95p99
Direct0.21 ms0.29 ms0.35 ms
Via QueryFlux0.57 ms0.81 ms1.21 ms
Overhead0.36 ms0.52 ms0.86 ms

StarRocks path (mock MySQL FE)

p50p95p99
Direct (MySQL SELECT 1)0.36 ms0.54 ms1.20 ms
Via QueryFlux0.70 ms1.21 ms4.20 ms
Overhead0.34 ms0.67 ms3.01 ms