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

xtaci/smux

Some data may be outdated — see provenance labels.

A stream multiplexing library for Golang with minimal memory usage. observed · 2026-10-04

github.com/xtaci/smux · Go · MIT (permissive) observed · 2026-10-04

Health v2 · maintenance only

63/100

  • Activity 74
  • Release rhythm 28
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3707
  • days_rel: 267
  • days_push: 158
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1607 stars · 230 forks observed · 2026-10-04

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/smuxmain63

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem