Lwan Web Server

Lwan Lightweight Asynchronous Multi-threaded Event-based Web server Fork it on GitHub Lwan is a high-performance & scalable web server for glibc/Linux platforms. Fork it on GitHub Requests per second over number of concurrent connections ? Hello, World! handler 100-byte file In development for about 2 years, Lwan was until now a personal research effort that focused mostly on building a solid infrastructure for a lightweight and speedy web server: Low memory footprint (~500KiB for 10k idle connections) Minimal memory allocations & copies Minimal system calls Hand-crafted HTTP request parser Static file serving uses the most efficient way according to file size No copies between kernel and userland for files larger than 16KiB Smaller files are sent using vectored I/O Header overhead is considered before considering deflate compression Mostly wait-free mult...

Linked on 2014-10-06 22:21:45 | Similar Links