Skip to content
@zoxy-io

zoxy.io

A zero-allocation reverse proxy and load balancer in Zig

A reverse proxy, a load generator, and the Zig protocol libraries they are built on.

An animated isometric drawing of zoxy's engine: requests pass an accept gate, hold a pool slot while they ride the ring around one core, and go out to four origins; as load rises the pool fills and the gate sheds the overflow with a 503.

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 · Discord

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.

zoxy.io/zrk

brew install zoxy-io/tap/zoxy
brew install zoxy-io/tap/zrk

Libraries

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.

Pinned Loading

  1. zoxy zoxy Public

    A zero-allocation reverse proxy and load balancer in Zig ⚡

    Zig 37 1

  2. zrk zrk Public

    A constant/linear throughput load generator in Zig ⚡

    Zig 26

Repositories

Showing 10 of 14 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…