SocketCluster
socketcluster.io
- Free plan
- Linux
- Web
- iPhone and iPad
- Android
- API
- Self-hosted
What SocketCluster is
SocketCluster is a self-hosted HTTP and WebSockets server environment for real-time systems built across processes and machines. It supports pub/sub and RPC applications, including chat systems and multiplayer online games. Deployments can scale vertically across processes and horizontally across machines or instances. Pub/sub channels are designed to be lightweight, cleaned up when unused and capable of supporting millions of unique channels. Asynchronous socket-stream operations preserve processing order, while server methods expose inbound and outbound backpressure monitoring. JWT is the default authentication method, with HTTP and WebSocket flows. Middleware streams can block connections or socket actions, or delay and transform packets between client and server. After a disconnect, channels enter a pending state and resubscribe automatically on reconnection. SocketCluster can run with Express and deploy on Kubernetes in Docker containers. Client libraries are listed for JavaScript, Java/Android, Python, .NET, Go, Swift/iOS, Ruby and Unity. The project is MIT-licensed open-source software for self-hosted deployment, with documentation, API reference and community chat support.
Who it suits
SocketCluster suits developers building self-hosted real-time services such as chat, pub/sub or multiplayer games. It is relevant when applications need HTTP and WebSocket clients across web and mobile environments.
Good to know, and what to watch
- Scales across processes and machines
- Supports lightweight pub/sub channels
- Preserves per-stream message order
- Provides JWT authentication by default
- Offers many client libraries
- Self-hosted deployment required
- Getting started lists Node.js v10
- Free plan has no paid support listed
- Ordering guarantees are per queue
Plans
Every plan and priceSocketCluster
Free plan
The verdict
SocketCluster offers an open-source server environment for real-time HTTP and WebSocket applications with scaling, authentication and reconnection behavior built in. Its self-hosted model gives deployment control but leaves infrastructure and operations to the implementing team.
What the maker publishes
- Access control
- Middleware streams can block connections and socket actions, and can delay or transform packets sent between client and server. source
- Authentication
- JWT is the default authentication mechanism, with HTTP-based and WebSocket-based flows supported. source
- Channels
- The maker says pub/sub channels are lightweight, automatically cleaned up when unused, and can support millions of unique channels. source
- Client libraries
- The maker’s site lists JavaScript, Java/Android, Python, .NET, Go, Swift/iOS, Ruby, and Unity clients. source
- Deployment
- The CLI provides Kubernetes shortcut commands, and the maker provides Kubernetes deployment YAML files. source
- Integrations
- The documentation describes running SocketCluster with frameworks such as Express and deploying it on Kubernetes inside Docker containers. source
- License
- The SocketCluster repository states that the project is distributed under the MIT License. source
- Message handling
- Asynchronous operations in socket streams preserve message processing order, and the server exposes methods to monitor inbound and outbound backpressure. source
- Purpose
- SocketCluster is an HTTP and WebSockets server environment for building scalable, multi-process real-time systems such as pub/sub and RPC applications. source
- Reconnect behavior
- When a client loses its connection, its channels enter a pending state and automatically resubscribe after reconnection. source
- Requirements
- The getting-started guide lists Node.js v10 as a requirement and Docker CLI and kubectl as optional dependencies. source
- Scaling
- It is designed to scale vertically across processes and horizontally across machines or instances. source
- Support
- The maker’s site links to community chat on Gitter and provides documentation and an API reference. source
- Use cases
- The maker describes SocketCluster as suitable for chat systems and multiplayer online games. source
Checked against the maker's pages on 8 Oct 2026.