A reverse proxy, a load generator, and the Zig protocol libraries they are built on.
A zero-allocation reverse proxy and load balancer. All memory is reserved at startup, the serving path never allocates, and under overload it sheds the newest work instead of falling over.
zoxy.io · Documentation ·
Configuration reference ·
Benchmark against haproxy, nginx, pingora and envoy ·
A constant-throughput HTTP load generator: a rewrite of wrk2 that paces every send in nanoseconds and corrects for coordinated omission, over HTTP/1.1, HTTP/2 or HTTP/3.
brew install zoxy-io/tap/zoxy
brew install zoxy-io/tap/zrk| Used by | ||
|---|---|---|
| hparse | Streaming SIMD HTTP parser, zero-allocation | zoxy, zurl |
| hpack | HPACK (RFC 7541) header compression for HTTP/2, and the primitives HTTP/3 borrows | h2, h3 |
| h2 | HTTP/2 frame codec and field validation, zero-allocation | zoxy, zrk |
| h3 | QUIC and HTTP/3, zero-allocation, with no socket or TLS engine of its own | zrk |
| zssl | Sans-I/O TLS 1.3 over libcrypto primitives | zoxy, zrk |
| zurl | std.Io-native HTTP client |
zrk |
benchmark is the harness behind zoxy.io/bench: every proxy gets the same open-loop load ramp until it stops keeping up.