# sylar-yin/sylar

C++高性能分布式服务器框架,webserver,websocket server,自定义tcp_server（包含日志模块，配置模块，线程模块，协程模块，协程调度模块，io协程调度模块，hook模块，socket模块，bytearray序列化，http模块，TcpServer模块，Websocket模块，Https模块等, Smtp邮件模块, MySQL, SQLite3, ORM,Redis,Zookeeper)

Repository: https://github.com/sylar-yin/sylar
Canonical: https://ross.abutalabs.com/products/sylar
Homepage: http://www.sylar.top
Language: C++
License Family: other
Topics: cpp, distribution, framework, high-performance, network, fiber, coroutine, http-server, http-client, websocket-server, websocket-client, sqlite3, orm
Last push: 2023-12-08T04:40:11+00:00

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

## Adoption (not part of the score)
Stars 4692, forks 1032 (observed 2026-08-28T04:08:57.094082+00:00)

## What it is
Sylar is a high-performance C++ server framework built around user-space coroutines (fibers) with modules for logging, configuration, threading, coroutine scheduling, IO scheduling via epoll, socket hooking, serialization, and HTTP/WebSocket/HTTPS servers. It also includes SMTP email, MySQL, SQLite3, Redis, Zookeeper, and a lightweight ORM, and is accompanied by a video tutorial series for building it from scratch.

## Use cases
- build a high-performance tcp server in c++
- learn how to write a coroutine-based server framework
- serve http and websocket endpoints from c++
- hook blocking socket apis to make them async
- serialize binary data with varint support
- write a web server with servlet-style routing in c++

## When to choose
- you want to study or learn coroutine-based server architecture in C++
- you need a self-contained C++ backend framework with http, websocket, and database modules on Linux
- you prefer synchronous-style code with async performance via socket hooks

## When to avoid
- you need a production framework with an active community, license, and long-term support
- you target platforms other than Linux
- you want a modern C++20 coroutine or cross-platform solution like asio or drogon

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, http-server, http-client, websocket, serialization, logging, orm, concurrency, database-driver, email
- domain: backend, web-development, developer-tools, microservices, networking
- platform: cpp
- tags: coroutine, fiber, hook, tcp-server, high-performance, epoll, yaml-config, servlet, mysql, sqlite3, redis, zookeeper, learning-project, linux

## Member repositories
- sylar-yin/sylar (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.094082+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:15.391789+00:00, confidence not recorded.
  - readme: https://github.com/sylar-yin/sylar (fetched 2026-08-28T04:08:57.094082+00:00, sha d592fc1ec115)
  - homepage: http://www.sylar.top (fetched 2026-08-29T09:03:42.137762+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
