Skip to content

akk85/Multithreaded-HTTP-WebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded HTTP Web Server

HTTP/1.1 web server built from scratch in C++ — raw POSIX sockets, custom thread pool, mutex + condition variable synchronization. No frameworks.

Benchmarked at 5,500+ requests/sec under 100 concurrent connections with 1.77ms average latency.

Full writeup, architecture, and challenges → tonykariuki.com/projects/webserver

Build & Run

git clone https://github.com/akk85/Multithreaded-HTTP-WebServer.git
cd Multithreaded-HTTP-WebServer
mkdir build && cd build
cmake .. && make
cd .. && ./build/webserver

Open http://localhost:8080

Stack

C++17 · POSIX Sockets · pthreads · CMake

About

High-performance HTTP/1.1 web server built from scratch in C++ using raw POSIX sockets, a custom thread pool, mutex synchronization, and condition variables. Benchmarked at 5,500+ requests/second.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors