Ultra-fast, memory-safe HTTP/3 reverse proxy & L4/L7 load balancer in pure Rust (distroless, ~10MB)
323

Zero unsafe code. Zero OpenSSL. ~13 MB distroless image.
Velox brings together the raw speed of NGINX, the load-balancing precision of HAProxy, the zero-reload dynamic control plane of Envoy, and the developer simplicity of Caddy — built from the ground up in Rust to eliminate memory-safety CVEs and HTTP request smuggling.
| Capability | Velox | NGINX (OSS) | HAProxy | Caddy |
|---|---|---|---|---|
Memory-Safe (#![forbid(unsafe_code)]) | Yes (Rust + rustls) | No (C + OpenSSL) | No (C + OpenSSL) | Yes (Go GC) |
| Pre-Parser HTTP/1 Smuggling Guard | Yes (wire-level) | Partial | Good | Go net/http |
| HTTP/3 (QUIC) + HTTP/2 + HTTP/1.1 | Built-in | Experimental | Limited | Built-in |
| Zero-Reload Dynamic Config & Admin API | Free (arc-swap) | Paid (NGINX Plus) | Runtime API | Free |
| Active H1/H2/TCP Health Checks + Outlier Ejection | Free | Paid (NGINX Plus) | Free | Basic |
| Singleflight Cache + Compression + JWT + mTLS | Built-in | Partial / Paid | No | Plugins |
| Distroless Non-Root Container | Yes (~13 MB) | Alpine/Debian | Alpine/Debian | Alpine |
docker run -d --name velox \
-p 8080:8080 \
-p 8443:8443 \
-p 8443:8443/udp \
ritejmule2610/velox:latest
velox.tomldocker run -d --name velox \
-p 80:8080 \
-p 443:8443 \
-p 443:8443/udp \
-v $(pwd)/velox.toml:/etc/velox/velox.toml:ro \
ritejmule2610/velox:latest
services:
velox:
image: ritejmule2610/velox:latest
ports:
- "80:8080"
- "443:8443"
- "443:8443/udp"
volumes:
- ./velox.toml:/etc/velox/velox.toml:ro
restart: unless-stopped
hyper parses them—rejecting CL+TE, TE.TE, obs-fold, bare LF, and NUL bytes before a single byte reaches your backend.Alt-Svc headers, and pools HTTP/1.1, h2c, https:// (with mTLS), or Unix sockets to backends.stale-while-revalidate, plus off-loop streaming zstd, brotli, and gzip./metrics, W3C traceparent propagation, structured JSON access logs, and velox doctor pre-flight diagnostics.linux/amd64, linux/arm64latest, 0.1.0gcr.io/distroless/cc-debian12:nonroot (uid 65532, no shell)docker pull veloxproxy/velox:latest