Zzz
A framework for writing performant and reliable networked services.
Install / Use
/learn @tardy-org/ZzzREADME
zzz

Installing
Compatible Zig Version: 0.14.0
Compatible tardy Version: v0.3.0
Latest Release: 0.3.0
zig fetch --save git+https://github.com/tardy-org/zzz#v0.3.0
You can then add the dependency in your build.zig file:
const zzz = b.dependency("zzz", .{
.target = target,
.optimize = optimize,
}).module("zzz");
exe.root_module.addImport(zzz);
zzz?
zzz is a framework for writing performant and reliable networked services in Zig. It supports both HTTP and HTTPS.
zzz currently supports Linux, Mac and Windows. Linux is currently the recommended target for deployments.
[!IMPORTANT] zzz is currently alpha software and there is still a lot changing at a fairly quick pace and certain places where things are less polished.
It focuses on modularity and portability, allowing you to swap in your own implementations for various things. Consumers can provide an async implementation, allowing for maximum flexibility. This allows for use in standard servers as well as embedded/bare metal domains.
For more information, look here:
Optimization
zzz is very fast. Through a combination of methods, such as allocation at start up and avoiding thread contention, we are able to extract tons of performance out of a fairly simple implementation. zzz is quite robust currently but is still early stage software. It's currently been running in production, serving my site.
With the recent migration to tardy, zzz is about as fast as gnet, the fastest plaintext HTTP server according to TechEmpower, while consuming only ~22% of the memory that gnet requires.


On the CCX63 instance on Hetzner with 2000 max connections, we are 70.9% faster than zap and 83.8% faster than http.zig. We also utilize less memory, using only ~3% of the memory used by zap and ~1.6% of the memory used by http.zig.
zzz can be configured to utilize minimal memory while remaining performant. The provided minram example only uses 256 kB!
Features
- Built on top of Tardy, an asynchronous runtime.
- Modular Asynchronous Implementation
io_uringfor Linux (>= 5.1.0).epollfor Linux (>= 2.5.45).kqueuefor BSD & Mac.pollfor Linux, Mac and Windows.
- Layered Router, including Middleware
- Single and Multithreaded Support
- TLS using secsock
- Memory Pooling for minimal allocations
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in zzz by you, shall be licensed as MPL2.0, without any additional terms or conditions.
Related Skills
qqbot-channel
354.5kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.9k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
354.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
3.1kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
