All projects

Infrastructure · Open source · Open source

Cauce

Open-source Rust reverse proxy configured in YAML. Its project site brings together reproducible NGINX benchmarks, configuration examples, and a quickstart.

v0.10.0 · Public image for Linux ARM64 and AMD64. A development checkpoint, not a certified NGINX replacement.

Cauce cover art

Technologies

Engineering notes / Performance

Cauce vs. NGINX

How much CPU does a GET cost on an open TLS connection? In Cauce, a Rust connection task held 11,072 bytes.

Moving parsing out of the Future shrank the task to 2,528 bytes. We kept the previous revision. At 100 TLS it delivered higher throughput and lower p99 than the candidate.

CPU per GET · µs
TLSCauceNGINX
4016.6420.68
10016.9322.08

At 100 TLS connections, Cauce reached 46,872 GET/s and 134 µs p99 versus 39,976 GET/s and 322 µs for NGINX. NGINX retained lower total RSS after drain.

Colima Linux ARM64 · 40 or 100 persistent TLS connections · four GETs in flight overall · 1 KiB body. Medians of five pairs per load, with 2 s warm-up and 6 s measured. Cauce 3716051 and NGINX 1.30.8.

Release v0.10.0 Public image for Linux ARM64 and AMD64. The benchmark candidate stayed in the lab.