# eranyanay/1m-go-websockets

handling 1M websockets connections in Go

Repository: https://github.com/eranyanay/1m-go-websockets
Canonical: https://ross.abutalabs.com/products/1m-go-websockets
Language: Go
License: AGPL-3.0
License Family: copyleft
Last push: 2022-08-14T11:12:13+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2761, "days_push": 1480, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5995, forks 639 (observed 2026-08-28T04:09:34.098377+00:00)

## What it is
A reference implementation and case study from a Gophercon Israel 2019 talk demonstrating a pure Go server handling 1M+ WebSocket connections under 1GB of RAM. It is educational example code, not a production WebSocket library.

## Use cases
- learn how to scale websocket connections in go
- understand os and runtime tuning for 1m concurrent connections
- study a high-concurrency go server example
- benchmark websocket connection capacity on linux
- reference for reducing memory per websocket connection

## When to choose
- you want to learn techniques for massive websocket concurrency in Go
- you need a working case study accompanying a conference talk
- you are benchmarking or studying Go runtime and Linux tuning

## When to avoid
- you need a production-ready websocket library
- you expect new features or long-term support
- you need cross-platform support beyond Linux

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: websocket, http-server, benchmarking
- domain: networking, performance, developer-tools
- platform: go
- tags: websocket-server, high-concurrency, case-study, gophercon, reference-implementation, linux, docker

## Member repositories
- eranyanay/1m-go-websockets (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.098377+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:50.531259+00:00, confidence not recorded.
  - readme: https://github.com/eranyanay/1m-go-websockets (fetched 2026-08-28T04:09:34.098377+00:00, sha 0529edf2a1e3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
