zeroserve adds JIT-compiled Caddyfile support
High-performance HTTPS server zeroserve has introduced a Caddyfile compatibility mode that JIT-compiles configurations directly to userspace eBPF and native machine code. Operating within an io_uring event loop, it achieves three times the throughput of standard Caddy with half the peak memory footprint and supports custom C-based plugins.
JIT-compiling high-level declarative server configs to sandboxed userspace eBPF and native machine code bypasses the overhead of Go's runtime and traditional middleware pipelines, demonstrating a new paradigm for high-performance edge routing.
* JIT-compiling Caddyfiles to native machine code bridges the developer-friendly configuration of Caddy with the extreme speed of custom-written C/Nginx modules.
* Leveraging userspace eBPF and `io_uring` enables highly efficient network I/O, resulting in ~3x the throughput of Caddy and low memory utilization (~30 MiB vs. ~67 MiB peak RSS).
* Support for custom C-based plugins inside Caddyfiles allows developers to write performant request-signing, authentication, or caching logic without patching the server core.
* The system is currently limited to basic Caddyfile features, meaning full compatibility with complex, upstream Caddy plugins remains a challenge.
DISCOVERED
2h ago
2026-06-14
PUBLISHED
5h ago
2026-06-14
RELEVANCE
AUTHOR
losfair