Open-source Express-like HTTP server in C++ logo

Open-source Express-like HTTP server in C++

Hey guys, I made an open-source Express like non blocking HTTP Server library in C++. Starting a new web server is as simple as initiating the app with the desired port (8080 default) and start registering routes.<p>#include &lt;PlusWeb&#x2F;HttpServer.h&gt;<p>int main() { Ht

Share on:
Listing image

PlusWeb is an Express-style HTTP framework in C++17, built on a libuv event loop and the llhttp parser, with a segment-trie router, benchmarked against Express on the same machine.

PlusWeb — an Express-style HTTP framework in C++17 · Ahmed Sozzer Skip to content Ahmed Sozzer projects writing experience contact resume ↓ austin, tx ← back to projects PlusWeb An Express-style HTTP framework in C++17 , on a libuv event loop and the llhttp parser. One event loop handles every connection, requests resolve through a segment trie keyed on method and path, and no connection went unanswered at any concurrency tested — including the 512 where Express left 264 waiting. C++17 · libuv · llhttp · CMake · MIT examples/users.cpp C++17 HttpServer app(3000); Router users; users.GET( "/new"

Related listings

Unlimited tokens for a fixed cost

I built a macOS Quick Look app for Markdown, SQLite, ZIP, and 300 more

interesting new benchmark to discover linear solvers

Prestige as a Service

First post on HN. I wanted to make my marketing&#x2F;digital consultancy site a bit fun and different with an OS-inspire...

Browse eBay with AI Agent and Dynamic Filtering