# link1st/gowebsocket

golang基于websocket单台机器支持百万连接分布式聊天(IM)系统

Repository: https://github.com/link1st/gowebsocket
Canonical: https://ross.abutalabs.com/products/gowebsocket
Language: Go
License: NOASSERTION
License Family: other
Topics: golang, websocket, grpc, gin, nginx, im
Last push: 2026-08-24T21:07:45+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 2593, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3104, forks 638 (observed 2026-08-28T04:07:43.729935+00:00)

## What it is
A distributed instant messaging (IM) chat system built in Go on top of WebSocket, designed to support up to a million concurrent connections on a single machine. It uses Gin for HTTP endpoints, gRPC for inter-node communication, and Nginx for load balancing, allowing horizontal scaling.

## Use cases
- build a distributed chat/im system in go
- handle millions of websocket connections on one server
- learn how websocket long-connection servers work
- send messages to users or broadcast to all users over websocket
- deploy a horizontally scalable websocket backend with nginx and grpc
- check user online status and push real-time messages

## When to choose
- you need a production-style Go IM/chat backend with websocket long connections
- you want a reference implementation of high-concurrency websocket connection management
- you need distributed message pushing across multiple nodes via gRPC

## When to avoid
- you only need a simple websocket library rather than a full chat application
- you need end-to-end encryption or full IM features like message history and offline storage out of the box
- your stack is not Go

## Facets
- artifact type: application
- maturity: active
- function: websocket, http-server, rpc, middleware, routing
- domain: web-development, microservices, chatbots
- platform: go
- tags: im, chat-system, long-connection, gin, grpc, nginx-load-balancing, million-connections, messaging, real-time, linux, docker, nginx

## Member repositories
- link1st/gowebsocket (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:43.729935+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-29T18:46:11.288329+00:00, confidence not recorded.
  - readme: https://github.com/link1st/gowebsocket (fetched 2026-08-28T04:07:43.729935+00:00, sha 47cfa1346f8f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
