panjf2000/gnet
🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 91
- Release rhythm 67
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 98.0
- age_days: 2747
- days_rel: 61
- days_push: 55
- n_releases_24m: 5
Adoption not part of the score
11235 stars · 1121 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
gnet is a high-performance, lightweight, event-driven networking framework written in pure Go, built on epoll and kqueue with a reactor pattern. It operates at the transport layer (TCP, UDP, Unix Domain Socket) so developers can implement application-layer protocols like HTTP, RPC, WebSocket, or Redis on top of it.
Use cases
- build a high-performance TCP server in Go
- implement a custom application-layer protocol like Redis or RPC
- write an event-driven network service with lower memory than Go net
- build a UDP-based networking application
- create a WebSocket or HTTP server from scratch on a fast event loop
- replace goroutine-per-connection networking for performance-sensitive services
When to avoid
- you want a batteries-included HTTP framework with routing and middleware
- your workload is not performance-sensitive and Go's standard net package suffices
- you prefer goroutine-per-connection programming models
- you need application-layer protocols provided out of the box
Facets
framework · maturity stable
web-framework http-server websocket rpc networking concurrency networking backend web-development developer-tools performance windows bsd cross-platform go event-driven event-loop reactor-pattern epoll kqueue non-blocking-io tcp udp unix-domain-socket high-performance lock-free linux macos
4 sources
- readme: https://github.com/panjf2000/gnet · fetched 2026-08-28 · 404d051ba447
- homepage: https://gnet.host · fetched 2026-08-29 · 517de364962a
- site_page: https://gnet.host/docs · fetched 2026-08-29 · f7a8463a870b
- site_page: https://gnet.host/docs/about/overview · fetched 2026-08-29 · 8c3d923b8222
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| panjf2000/gnet | main | 84 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem