Meet Velociradix: The 180,000 req/s C++17 Powered Web Framework for Node.js

μž‘μ„±μž

μΉ΄ν…Œκ³ λ¦¬:

← ν”Όλ“œλ‘œ
DEV Community · Moaaz Yahia · 2026-08-14 개발(SW)
Cover image for Meet Velociradix: The 180,000 req/s C++17 Powered Web Framework for Node.js

Moaaz Yahia

Hey everyone! πŸ‘‹

I’ve been working on Velociradix, an ultra-fast, zero-dependency C++17 HTTP engine and Node.js web framework.

Why Velociradix?

Standard Node.js frameworks execute HTTP parsing, header validation, and routing on the single-threaded V8 loop. Velociradix moves socket handling (kqueue/epoll), zero-copy HTTP parsing, and Radix Trie routing to native multi-threaded C++ background workers.

Benchmark Highlights (500k requests, HTTP pipelining):

  • 🏎️ Pure C++ Engine: ~450,000 req/s
  • ⚑ JS / TS Multi-Thread: ~181,000 req/s
  • πŸƒ JS Single-Thread (1 core): ~147,000 req/s (~3.5x faster than Express)

Key Features:

  • πŸ›‘οΈ Zero Runtime Dependencies: 0 external npm dependencies.
  • πŸ”„ Express Drop-in Replacement: Run existing Express apps/routers via import express from 'velociradix/express'.
  • πŸ“ File-Based Routing: Next.js-style automatic routes (routes/users/[id].ts βž” /users/:id).
  • πŸ”‹ 36+ Built-in Middlewares: JWT auth, sliding-window rate limiter, session encryption, caching, CORS, and helmet out of the box.
  • πŸ“Š Built-in Docs & Live Metrics: Interactive Swagger UI, Postman v2.1 export, and live metrics dashboard without extra packages.
  • πŸ“˜ 100% Strict TypeScript: Zero any.

  • Documentation & Guides: https://moaaz-i.github.io/Velociradix

  • GitHub Repository: https://github.com/Moaaz-i/Velociradix

I would love to get your feedback, hear what you think of the architecture, and answer any questions!

μ›λ¬Έμ—μ„œ 계속 β†—