# chenshuo/muduo

Event-driven network library for multi-threaded Linux server in C++11

Repository: https://github.com/chenshuo/muduo
Canonical: https://ross.abutalabs.com/products/muduo
Homepage: https://github.com/chenshuo/muduo
Language: C++
License: NOASSERTION
License Family: other
Last push: 2025-12-23T17:18:04+00:00

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

## Adoption (not part of the score)
Stars 16226, forks 5320 (observed 2026-08-28T04:11:14.964240+00:00)

## What it is
Muduo is a multithreaded C++11 network library based on the reactor pattern, providing event-driven TCP networking for Linux servers. It uses non-blocking I/O with epoll and one-loop-per-thread concurrency, and is widely used as a reference for learning network programming.

## Use cases
- build a high-performance TCP server in C++ on Linux
- learn reactor-pattern network programming
- write an event-driven multithreaded server
- handle many concurrent socket connections with epoll
- implement custom application protocols over TCP
- study a well-known C++ network library codebase

## When to choose
- you need a proven, readable C++ networking library for Linux servers
- you want one-loop-per-thread multithreaded I/O without manual epoll plumbing
- you are learning how production network libraries are designed

## When to avoid
- you need cross-platform support beyond Linux
- you want an HTTP framework or batteries-included web server rather than a raw networking library
- your project requires modern C++ beyond C++11 or a permissively licensed dependency (license is custom BSD-style)

## Facets
- artifact type: library
- maturity: maintenance
- function: http-server, websocket, concurrency, networking
- domain: networking, backend, developer-tools, microservices
- platform: cpp
- tags: reactor-pattern, event-driven, c++11, tcp-server, non-blocking-io, epoll, linux

## Member repositories
- chenshuo/muduo (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:14.964240+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:05:10.890933+00:00, confidence not recorded.
  - readme: https://github.com/chenshuo/muduo (fetched 2026-08-28T04:11:14.964240+00:00, sha b81236e5f661)
  - homepage: https://github.com/chenshuo/muduo (fetched 2026-08-29T08:02:39.824345+00:00, sha a7a92eafefa0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
