# Allenxuxu/gev

🚀Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.

Repository: https://github.com/Allenxuxu/gev
Canonical: https://ross.abutalabs.com/products/gev
Language: Go
License: MIT
License Family: permissive
Topics: epoll-tcp-server, kqueue, golang, reactor, nonblocking, epoll, network-programming, event-driven, go, gev, goroutine, gomaxprocs, websocket, evio, protocol
Last push: 2025-06-07T16:56:39+00:00

## Health v2 (maintenance only)
Score: 34/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 25, release rhythm 8, longevity 100
- inputs: {"age_days": 2558, "days_push": 452, "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 1774, forks 192 (observed 2026-08-28T04:05:34.369264+00:00)

## What it is
gev is a lightweight, high-performance non-blocking TCP network library and WebSocket server for Go, built on the Reactor pattern with epoll/kqueue event loops. It supports custom protocols, multi-core work goroutines, ring-buffer read/write, SO_REUSEPORT, and scheduled tasks for building fast servers.

## Use cases
- build a high-performance TCP server in Go
- serve WebSocket connections with low overhead
- implement a custom binary protocol server
- replace net stdlib for event-driven networking
- handle many concurrent connections with few goroutines
- build an echo or proxy server with epoll/kqueue

## When to choose
- you need event-driven, non-blocking TCP or WebSocket serving in Go
- you want custom protocol support on a fast reactor event loop
- you need SO_REUSEPORT, idle connection cleanup, or scheduled tasks built in

## When to avoid
- you need full HTTP/1.1 or HTTP/2 application server features
- you prefer the standard net package's blocking, goroutine-per-connection model
- you need TLS-heavy or platform support beyond epoll/kqueue systems

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-server, networking, concurrency
- domain: networking, backend, web-development, developer-tools
- platform: go, cross-platform
- tags: reactor-pattern, event-loop, epoll, kqueue, nonblocking-io, tcp-server, high-performance, custom-protocol, linux, macos

## Member repositories
- Allenxuxu/gev (main) score 34

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.369264+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-30T03:25:22.098789+00:00, confidence not recorded.
  - readme: https://github.com/Allenxuxu/gev (fetched 2026-08-28T04:05:34.369264+00:00, sha 956177398e85)
- Data as of 2026-08-30T08:39:29.467469+00:00.
