Skip to main content
Open Source

xmppd

A carrier-grade XMPP server written in Zig. Multi-process architecture, DANE-first federation, thread-per-core scaling. Sub-millisecond message latency.

Built Different

Inspired by Postfix's multi-process architecture. No garbage collector, no VM, no interpreter overhead. Just raw performance on bare metal.

Multi-Process

Separate daemons for core, auth, and S2S federation. Fault-isolated and privilege-separated.

Thread-Per-Core

SO_REUSEPORT_LB load balancing with per-worker kqueue event loops and MPSC cross-thread delivery.

DANE-First Federation

DNS-based authentication is the primary S2S trust path. PKIX/CA is the fallback, not the default.

Sub-Millisecond

Average message latency of 0.31–0.37ms. No GC pauses, no VM overhead, no interpreter.

Zero Runtime Deps

Static Zig binaries. Only OpenSSL and your chosen storage backend at runtime. ~30,000 lines of code.

19+ XEPs

RFC 6120/6121, MUC, MAM, Carbons, Stream Management, PEP, Blocking, Entity Capabilities, and more.

Learn More

Full documentation, architecture guides, benchmarks, and installation instructions are available on the xmppd website.

BSD 2-Clause License — View License