Caddy compatibility for zeroserve: 3x throughput and 70% lower latency
3 hours ago
- #eBPF
- #Caddy compatibility
- #High-performance server
- Zeroserve is a high-performance HTTPS server that executes eBPF scripts in userspace.
- It now features a Caddy-compatible mode, where a Caddyfile is JIT-compiled to eBPF, then to native machine code, running in an io_uring event loop.
- Performance benchmarks show zeroserve outperforming Caddy in throughput and latency, with competitive results against nginx on HTTPS reverse proxy tasks.
- It allows calling custom eBPF code from a Caddyfile, such as integrating AWS SigV4 authentication for S3-compatible bucket reverse proxying.
- The tool is easily deployable via a curl command and supports running Turing-complete eBPF, enabling advanced custom middleware integrations.