lesismal/nbio
Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 96
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 36
- age_days: 2412
- days_rel: 50
- days_push: 24
- n_releases_24m: 16
Adoption not part of the score
2755 stars · 182 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
NBIO is a pure Go non-blocking, event-driven network I/O library supporting TLS, HTTP/1.x, and WebSocket, largely compatible with net/http. It is designed for massive-connection scenarios (1M+ connections) with high performance and low memory overhead.
Use cases
- build a websocket server handling a million concurrent connections
- write a high-performance tcp gateway or proxy in go
- replace net/http for lower memory usage under massive connections
- implement an event-driven network server in go
- build a long-lived connection push service
- reduce goroutine count and gc pressure in a go network server
When to choose
- you need to handle hundreds of thousands to millions of concurrent connections
- you are building infrastructure like gateways or proxies where memory and GC pressure matter
- you want net/http-compatible APIs with event-driven performance
- you need websocket support with better out-of-the-box read/write design than gorilla/websocket
When to avoid
- your application has only a regular number of connections - the standard library often outperforms nbio there
- you need maximum performance for gateway/proxy infrastructure where C/C++/Rust may be more suitable
- you want a general-purpose websocket library for ordinary connection counts - consider gws or quickws instead
Facets
library · maturity active
http-server websocket networking concurrency networking backend developer-tools go windows cross-platform event-driven non-blocking-io high-concurrency tls net-http-compatible million-connections real-time linux macos
1 source
- readme: https://github.com/lesismal/nbio · fetched 2026-08-28 · 0e1a26d04f9f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lesismal/nbio | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem