
centrifugo
Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once and forever.
The Lens
Centrifugo is a standalone server that handles all the WebSocket connections so your backend doesn't have to. Your app publishes messages to Centrifugo via HTTP API, and Centrifugo pushes them to connected clients. Language-agnostic: works with any backend. Apache 2.0. Supports WebSocket, SSE (Server-Sent Events), HTTP streaming, and GRPC. Built-in presence tracking (who's online), message history, and channel permissions. Handles millions of concurrent connections. Written in Go.
The open source version is fully featured for most use cases. Centrifugo PRO adds features like push notifications (iOS/APNs, Android/FCM), analytics, SSO, real-time CEL-based channel permissions, and priority support. PRO pricing is custom. Contact them for quotes.
Self-hosting: single binary, minimal config. Connect it to Redis or Nats for scaling across multiple nodes. Ops: moderate at scale (Redis cluster management), trivial for a single node.
Solo and small teams: the open source version handles everything. Medium teams: still free unless you need push notifications or advanced analytics. The catch: adding a separate real-time server is another piece of infrastructure. If your framework already has decent WebSocket support (Phoenix, Rails Action Cable), you might not need it. Centrifugo shines when your backend is a REST API that wasn't built for real-time.
Free vs Self-Hosted vs Paid
open core### Free Tier Open source under Apache 2.0. WebSocket/SSE server, presence, history, channel permissions, Redis/Nats integration, all free.
### Paid (Centrifugo PRO) Adds: push notifications (APNs/FCM), analytics dashboard, SSO/OIDC, CEL-based channel permissions, operation throttling, priority support. Pricing is custom, based on connection count and usage.
### Self-Hosted Costs Single binary, runs on minimal resources. Add Redis ($5-15/mo) if you need multi-node scaling. A small VPS handles thousands of concurrent connections.
### When to Pay Pay for PRO when you need mobile push notifications alongside WebSocket or when you need the analytics dashboard for debugging real-time issues at scale.
Free open source covers most real-time needs. PRO for push notifications and analytics, custom pricing.
Similar Tools
License: Apache License 2.0
Use freely. Patent grant included.
Commercial use: ✓ Yes
About
- Owner
- Centrifugal Labs (Organization)
- Stars
- 10,141
- Forks
- 687
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop — the best new open source tools, analyzed. Free.



