http-server:
Very light weight static content serving web-server written in C. Uses pthreads to achieve high concurrency.
On a 4 core system with ab proved to serve 10K reqs/sec with minimal cpu usage.
Examples:
- To compile the code
bash-$ make build
- Run the webserver on a port
./server -p -r -i
- Example
bash-$ ./server -p 8080 -r /var/www/html/ -i index.html