# SocketCluster/socketcluster

Highly scalable realtime pub/sub and RPC framework

Repository: https://github.com/SocketCluster/socketcluster
Canonical: https://ross.abutalabs.com/products/socketcluster
Homepage: https://socketcluster.io
Language: JavaScript
License: MIT
License Family: permissive
Topics: realtime, nodejs, websocket, pubsub, scalable, kubernetes, docker, framework, websockets, javascript, socketcluster
Last push: 2026-08-21T10:10:17+00:00

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

## Adoption (not part of the score)
Stars 6194, forks 318 (observed 2026-08-28T04:09:39.594231+00:00)

## What it is
SocketCluster is a highly scalable realtime pub/sub and RPC framework for Node.js, with a CLI tool for scaffolding apps and deploying them to Kubernetes. It supports JWT authentication, middleware-based access control, and stream backpressure monitoring.

## Use cases
- build a realtime pub/sub server in nodejs
- add websocket rpc to my app
- scale websocket connections horizontally on kubernetes
- scaffold a realtime node app boilerplate
- push live updates to millions of channels
- authenticate websocket connections with jwt
- monitor websocket message backpressure

## When to choose
- you need a scalable websocket pub/sub and RPC layer in Node.js
- you want built-in JWT auth, middleware, and Kubernetes deployment for realtime apps
- you need fine-grained message ordering and backpressure control

## When to avoid
- you only need simple REST APIs without realtime messaging
- you want a framework with a large active ecosystem and frequent updates
- you need non-JavaScript server-side support

## Facets
- artifact type: framework
- maturity: maintenance
- function: websocket, rpc, web-framework, middleware, auth, cli, deployment
- domain: web-development, backend, developer-tools
- platform: cross-platform
- tags: pubsub, realtime, jwt-authentication, backpressure, horizontally-scalable, boilerplate, real-time, messaging, nodejs, docker, kubernetes

## Member repositories
- SocketCluster/socketcluster (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:39.594231+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:47:21.615716+00:00, confidence not recorded.
  - readme: https://github.com/SocketCluster/socketcluster (fetched 2026-08-28T04:09:39.594231+00:00, sha bcabd63c9af1)
  - homepage: https://socketcluster.io (fetched 2026-08-29T08:44:16.150172+00:00, sha 9b3a1466439d)
  - site_page: https://socketcluster.io/docs/api.html (fetched 2026-08-29T08:44:16.444326+00:00, sha 9804b9b69d7a)
  - site_page: https://socketcluster.io/docs/guides (fetched 2026-08-29T08:44:16.194984+00:00, sha 0c5f31b467ae)
  - site_page: https://socketcluster.io/docs/api (fetched 2026-08-29T08:44:16.206702+00:00, sha 0ff1739ceedb)
  - site_page: https://socketcluster.io/docs/getting-started (fetched 2026-08-29T08:44:16.279605+00:00, sha ca1cdbf3ad34)
  - site_page: https://socketcluster.io/docs/deploying-to-kubernetes (fetched 2026-08-29T08:44:16.333040+00:00, sha d4880c7ce2e0)
  - site_page: https://socketcluster.io/docs/getting-started.html (fetched 2026-08-29T08:44:16.369956+00:00, sha 9d4560c345fa)
  - site_page: https://socketcluster.io/docs/guides.html (fetched 2026-08-29T08:44:16.402040+00:00, sha 3826c8f2f910)
- Data as of 2026-08-30T08:39:29.467469+00:00.
