Native engine
kqueue/epoll, SO_REUSEPORT workers, radix-trie router. Prebuilds for Linux x64, macOS arm64, Windows x64. Zero npm runtime dependencies.
Native kqueue/epoll workers and a small Express-like API. Custom HTTP parser β not llhttp. JS routes are not faster than Fastify; fastGet is a different workload.
autocannon -c 100 --pipeline 10, GET /json, small JSON body, no logger middleware. Apple Silicon. This is the comparison that matters for application code.
~80% of Fastify on lean JS JSON β beside it, not above. fastGet is a different test (~114k for a preformatted C++ body). Details in the benchmarks guide.
import { createApp, helmet } from "velociradix";
const app = createApp();
app.use(helmet());
app.fastGet("/health", { ok: true });
app.get("/", (ctx) => ({ message: "hello" }));
app.listen(3000);Custom parser and native addon
You are not installing a pure-JS package. A .node binary parses HTTP. Read Trust before binding this to 0.0.0.0 on the internet. Use 8.2.0 or newer.