# markparticle/WebServer

C++  Linux WebServer服务器

Repository: https://github.com/markparticle/WebServer
Canonical: https://ross.abutalabs.com/products/markparticle-webserver
Language: C++
License: Apache-2.0
License Family: permissive
Last push: 2023-12-02T03:37:23+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": 2270, "days_push": 1005, "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 4113, forks 785 (observed 2026-08-28T04:08:35.753180+00:00)

## What it is
A high-performance HTTP web server written in C++14 for Linux, using epoll-based Reactor concurrency with a thread pool, achieving 10,000+ QPS in webbench stress tests. It includes HTTP request parsing, an asynchronous logging system, a timer for idle connections, and a MySQL connection pool with user registration/login.

## Use cases
- serve static websites on linux with a lightweight c++ http server
- learn epoll and reactor pattern high-concurrency server programming
- study how to implement an http parser with a state machine
- run a web server with async logging and connection timeout handling
- benchmark a c++ web server with webbench
- implement a mysql connection pool with raii in c++

## When to choose
- you want a compact, readable C++ codebase for learning Linux high-performance server programming
- you need a minimal epoll-based HTTP server for static content on Linux
- you want a reference implementation of thread pools, timers, and async logging in C++

## When to avoid
- you need a production-grade web server with TLS, full HTTP/1.1+ features, or broad platform support
- you need a cross-platform or Windows server
- you want a framework with routing, middleware, or an active plugin ecosystem

## Facets
- artifact type: application
- maturity: maintenance
- function: http-server, web-framework, logging, caching, concurrency, database-driver
- domain: web-development, backend, developer-tools, networking
- platform: cpp, cli
- tags: epoll, reactor-pattern, thread-pool, http-parser, mysql-connection-pool, timer, high-performance, learning-project, linux

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

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:35.753180+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-29T18:23:11.402403+00:00, confidence not recorded.
  - readme: https://github.com/markparticle/WebServer (fetched 2026-08-28T04:08:35.753180+00:00, sha 87303ede1825)
- Data as of 2026-08-30T08:39:29.467469+00:00.
