Skip to content

ZionEdge Gateway

High-performance TLS reverse proxy with built-in WAF. Written in Rust. Single binary. Zero dependencies.

Zion Edge Gateway

Performance at a Glance

233K
req/s HTML (TLS 1.3)
210K
req/s cache hit
107K
req/s API proxy
103K
req/s WAF POST

Native benchmark on Apple M4, 5 runs x 10s, c=100. Rust backend. Tracked per-commit in bench-history.json. Full results

Why Zion?

nginxHAProxyEnvoyCaddyTraefikPingoraZion
LanguageCCC++GoGoRustRust
Memory safetyNoNoNoGCGCYesYes
Built-in WAFNoNoNoNoNoNoAho-Corasick, dual-mode
RAM cacheNoYesNoNoNoNoL1+L2
TLS hot-reloadSignalSignalxDSAutoFile watchCustomArcSwap
Config formatCustomCustomYAML/xDSJSON/APIYAML/APIRust codeTOML
Binary size~1.5MB~3MB~40MB~40MB~100MBLibrary~4MB
SingleflightNoNoNoNoNoNoYes
HTTP/3 QUICPatchNoYesYesYesNoFeature-gated
JWT/OIDC authNoNoYesYesYesNoFeature-gated

Quick Start

bash
cargo build --release
ZION_CONFIG=zion.toml ./target/release/zion
toml
[server]
listen_https = "0.0.0.0:443"

[tls]
cert_path = "/etc/ssl/zion/tls.crt"
key_path = "/etc/ssl/zion/tls.key"

[upstreams]
backend = "http://127.0.0.1:8000"

[[route]]
path = "/api/{*rest}"
upstream = "backend"
waf = true

Full configuration reference

Released under the MIT License.