openRuyi Lookout
← Packages

go-github-lesismal-nbio

Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http.

Current
1.7.0
Candidate
1.7.2Stale
License
MIT

Build

TargetResultLast successful versionSucceeded at
rva23
1.7.0
rva20
1.7.0
x86_64
1.7.0

Description

NBIO - NON-BLOCKING IO For massive connection scenarios, combined with memory pools and goroutine pools, it can effectively reduce the number of goroutines and objects, thereby lowering memory consumption and GC pressure, avoiding OOM and significant STW. For example, in a million WebSocket 1k payload echo test, nbio can maintain memory at 1GB with 100k TPS. For regular connection scenarios, nbio's performance is inferior to the standard library due to goroutine affinity, lower buffer reuse rate for individual connections, and variable escape issues.

Changelog

PR · 5

Checks
MonitorObservationLast checked
Stale
Repository refresh: git fetch exited 128 (authentication)
Stale
Source last confirmed at 2026-11-10T09:54:44+00:00; repository refresh overdue.
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Checked
Compared same-provider, same-project SPDX metadata for this version pair.
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked