Skip to content

v0.10.0 / APACHE-2.0 / LINUX ARM64 + AMD64

Reverse proxy.
Rust engine.

Versioned YAML for APIs, gRPC, and long-lived connections. Run it on your own infrastructure.

NGINX compatibility is in development. Published results cover a specific TLS workload.

docker pull obahamondev/cauce:v0.10.0
DATA PLANEHTTP/1.1HTTP/2gRPCWebSocketsSSETLS

01 / BENCHMARK LAB

Four metrics. The full result.

Three wins in this TLS workload. Total drained RSS favored NGINX.

Cauce 3716051 NGINX 1.30.8

Throughput

+17.3%
Higher is better
Cauce46,872 GET/s
NGINX39,976 GET/s

Tail latency (p99)

−58.4%
Lower is better
Cauce134 µs
NGINX322 µs

CPU per GET

−23.3%
Lower is better
Cauce16.93 µs
NGINX22.08 µs

Drained resident memory

+63.7%
Lower is better
Cauce11,672 KiB
NGINX7,132 KiB

Colima Linux ARM64 · HTTP/1.1 keep-alive · four GETs in flight · 1 KiB per response · median of five pairs per load.

Cauce 3716051 was a lab candidate, not the published binary. Total RSS is distinct from RssAnon. At 40 TLS, Cauce had lower p99 in only two of the five pairs.

Method and results

02 / CONFIG

Routes, in YAML.

Compare configuration excerpts. The syntax changes, and some policies behave differently.

nginx.conf
server {    listen 443 ssl;    server_name example.com;    ssl_certificate cert.pem;    ssl_certificate_key key.pem;    ssl_protocols TLSv1.3;    location / {        proxy_pass http://api;    }}
cauce.yaml
version: 1proxy:  listen: "127.0.0.1:443"  tls:    cert_file: cert.pem    key_file: key.pem    versions: [tls1.3]  routes:    - id: api      host: example.com      path_prefix: /      upstreams: [api]

Listener and route excerpts. Supply your own PEM files, complete the upstream declarations, and validate before starting. View reference

03 / ARCHITECTURE

The path of a request.

01 / RUNTIME

Tokio async runtime

An event-driven data path with pooled upstream connections and bounded admission. Eligible TLS HTTP/1.1 requests can use the direct transport.

Technical reference

02 / TRANSPORT

Rustls at the edge

TLS 1.2 and 1.3, explicit upstream certificate verification, and mutual TLS in supported configurations.

Technical reference

03 / CONTROL PLANE

Validated YAML reloads

Validate a candidate before applying it. Compatible reloads keep the listener and existing streams; an invalid candidate leaves the previous configuration active.

Technical reference

04 / MEMORY

Explicit memory budgets

Bound connection pools, requests and headers. Measure drained memory separately from active load. Total drained RSS was higher than NGINX in the published comparison.

Technical reference

04 / QUICKSTART

Run Cauce locally.

Before running: prepare cauce.yaml with a listener on 0.0.0.0:8080 and an upstream reachable from the container.

  1. 01Pull the pinned image
    docker pull obahamondev/cauce:v0.10.0
  2. 02Mount YAML and run
    docker run --rm --name cauce -p 127.0.0.1:8080:8080 \
      --mount type=bind,src="$PWD/cauce.yaml",dst=/etc/cauce/cauce.yaml,readonly \
      obahamondev/cauce:v0.10.0 /etc/cauce/cauce.yaml
  3. 03Send a request
    curl -fsS http://127.0.0.1:8080/
Full instructions and prerequisites