# linyacool/WebServer

A C++ High Performance Web Server

Repository: https://github.com/linyacool/WebServer
Canonical: https://ross.abutalabs.com/products/webserver
Language: C++
License: MIT
License Family: permissive
Topics: cpp11, webserver, reactor, epoll, raii, thread-pool, http, http-server
Last push: 2023-09-27T14:35:07+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3134, "days_push": 1071, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8217, forks 2117 (observed 2026-08-28T04:10:19.640436+00:00)

## What it is
A high-performance HTTP web server written in C++11 using epoll edge-triggered non-blocking IO with a Reactor concurrency model and thread pool. It handles GET/HEAD requests, static resources, keep-alive and pipelined connections, and includes an asynchronous double-buffered logging system.

## Use cases
- serve static files over http on linux
- learn how epoll and reactor pattern web servers work
- study a c++11 thread pool and async logging implementation
- benchmark a lightweight http server with webbench
- understand http request parsing with a state machine
- prepare for c++ backend interview questions about web servers

## When to choose
- you want a compact, readable C++ codebase to learn high-performance server internals
- you need a minimal static-content HTTP server on Linux
- you are studying epoll, RAII, timers, and thread-pool concurrency patterns

## When to avoid
- you need a production web server with TLS, dynamic content, or broad feature support
- you need cross-platform support beyond Linux
- you want a maintained framework with active development and modern tooling

## Facets
- artifact type: application
- maturity: maintenance
- function: http-server, logging, concurrency, web-framework
- domain: web-development, backend, developer-tools, networking
- platform: cpp, cli
- tags: epoll, reactor-pattern, thread-pool, cpp11, nonblocking-io, http-pipelining, learning-project, linux

## Member repositories
- linyacool/WebServer (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:19.640436+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:29:31.823148+00:00, confidence not recorded.
  - readme: https://github.com/linyacool/WebServer (fetched 2026-08-28T04:10:19.640436+00:00, sha 38270d12f9eb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
