# yedf2/handy

🔥简洁易用的C++11网络库 / 支持单机千万并发连接 / a simple C++11 network server framework

Repository: https://github.com/yedf2/handy
Canonical: https://ross.abutalabs.com/products/yedf2-handy
Language: C++
License: BSD-2-Clause
License Family: permissive
Topics: epoll, c-plus-plus, cpp11, networking, concurrent-programming, c
Last push: 2023-08-19T12:40:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4415, "days_push": 1110, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4644, forks 1322 (observed 2026-08-28T04:08:55.531244+00:00)

## What it is
Handy is a simple, easy-to-use C++11 network server library supporting high-concurrency TCP/UDP servers with epoll on Linux and kqueue on macOS. It offers concise APIs (a full echo server in ~10 lines), graceful shutdown, timers, SSL via OpenSSL, protobuf codecs, and half-sync/half-async processing.

## Use cases
- build a high-performance tcp server in c++
- handle millions of concurrent connections on one machine
- write a simple http server in c++
- build a udp server or client
- add ssl/tls to a c++ network server
- implement a half-sync half-async server
- learn epoll and kqueue event-driven programming

## When to choose
- you want a lightweight, minimal C++11 networking library with a small API surface
- you need very high concurrent connection counts on Linux
- you want epoll/kqueue examples to learn event-driven networking

## When to avoid
- you need a full-featured framework with async I/O across many platforms or Windows support
- you prefer mature, widely-adopted libraries like asio with large community support
- you need HTTP/2, WebSockets, or other advanced protocols out of the box

## Facets
- artifact type: library
- maturity: maintenance
- function: http-server, websocket, networking, concurrency, middleware
- domain: networking, backend, developer-tools, microservices
- platform: cpp, cross-platform
- tags: c++11, epoll, kqueue, tcp-server, udp, high-concurrency, event-driven, openssl, protobuf, linux, macos

## Member repositories
- yedf2/handy (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:55.531244+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:19:32.751330+00:00, confidence not recorded.
  - readme: https://github.com/yedf2/handy (fetched 2026-08-28T04:08:55.531244+00:00, sha 0d31e235ae83)
- Data as of 2026-08-30T08:39:29.467469+00:00.
