TinyWebServer is a lightweight C++ web server framework for Linux, intended for learning and small to medium load usage. It leverages nonblocking sockets, epoll, and thread pools to handle high concurrency. It supports HTTP request parsing (GET and POST), serves static content (images, video files), integrates basic database-backed user registration/login, and implements synchronous/asynchronous logging systems. The project is often used by learners to practice network programming in C++ with high concurrency models. HTTP request parsing via a state machine capable of processing GET and POST. Tested under high concurrency (Webbench) to support tens of thousands of simultaneous connections.
Features
- Uses thread pool + nonblocking sockets + epoll (supporting both ET and LT modes)
- HTTP request parsing via a state machine capable of processing GET and POST
- Static file serving (images, video, etc.)
- Database integration for user registration and login
- Logging subsystem (sync / async) to track server runtime state
- Tested under high concurrency (Webbench) to support tens of thousands of simultaneous connections
Categories
HTTP ServersLicense
Apache License V2.0Follow TinyWebServer
Other Useful Business Software
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight
CLEAR by Quantum Knight is a FIPS-140-3 validated encryption SDK engineered for enterprises requiring top-tier security. Offering robust post-quantum cryptography, CLEAR secures files, streaming media, databases, and networks with ease across over 30 modern platforms. Its compact design, smaller than a single smartphone image, ensures maximum efficiency and low energy consumption.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of TinyWebServer!