Ross ROSS = Recommend OSS · open-source software intelligence for agents

xtaci/smux

A stream multiplexing library for Golang with minimal memory usage. observed · 2026-08-28

github.com/xtaci/smux · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 82
  • Release rhythm 36
  • 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: n/a
  • age_days: 3659
  • days_rel: 219
  • days_push: 110
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1602 stars · 229 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Smux is a stream multiplexing library for Go that runs many logical streams over a single reliable connection such as TCP or KCP. It minimizes memory usage through a shared session-wide receive buffer, token-bucket flow control, and a slab-style frame allocator.

Use cases

  • multiplex many logical streams over a single TCP connection
  • reduce connection overhead for tunnel or proxy software
  • power connection management for KCP-based transports
  • control memory usage across thousands of concurrent streams
  • implement fair bandwidth sharing between streams
  • build reliable ordered streams over custom io.ReadWriteCloser transports

When to choose

  • you need many concurrent streams over one connection in Go with low memory overhead
  • you are building on kcp-go or a similar reliable underlying transport
  • you need net.Conn-compatible streams with built-in flow control and traffic shaping

When to avoid

  • you need HTTP/2 or gRPC-level multiplexing with request semantics
  • your underlying transport is unreliable and you are not using KCP
  • you work outside the Go ecosystem

Facets

library · maturity stable

networking concurrency middleware networking developer-tools microservices go cross-platform stream-multiplexing multiplexing kcp tcp flow-control net-conn

1 source

Member repositories

RepositoryRoleHealth v2
xtaci/smuxmain70

For agents

markdown · JSON · MCP: product_card(name="xtaci/smux")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem