Skip to content

VelociradixC++17 HTTP engine for Node.js

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.

Velociradix C++ Engine

Same-work benchmark β€” JS handlers

autocannon -c 100 --pipeline 10, GET /json, small JSON body, no logger middleware. Apple Silicon. This is the comparison that matters for application code.

Fastify v4.28~68k req/s
68k
Velociradix app.get~54k req/s
54k
Express v4.19~12k req/s
12k

~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.

Minimal server ​

javascript
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.

Released under the MIT License.