haywire/haywire
FreeHaywire is an asynchronous HTTP server framework written in C that's built using the event loop based libuv platform layer that node.js is built on top of.
About haywire/haywire
Haywire is an asynchronous HTTP server framework written in C, built on the libuv platform layer used by Node.js. Its goal is to achieve high request throughput and connection handling with minimal latency and resource usage. It supports cross-platform deployment (Windows, Linux, OSX), HTTP keep-alive, pipelining, non-blocking I/O, and SO_REUSEPORT for multi-process/multi-threaded load balancing across CPU cores. The project is experimental and open-sourced from the early stages, with plans for HTTP handler routing, SPDY support, and language bindings (JVM, CLR). Benchmarks demonstrate over 9 million requests per second on a 20-core server.
Key Features
Pros & Cons
- Extremely high throughput (over 9 million requests/sec in benchmarks)
- Low latency and minimal resource usage
- Cross-platform support (Windows, Linux, OSX)
- Utilizes libuv for efficient asynchronous I/O
- Open source with permissive license
- Experimental and not production-ready according to author
- Limited feature set (no routing, no SPDY yet)
- Sparse documentation and community
- Requires compilation and dependency management