About Centrifugo
This entry covers Centrifugo, the real-time messaging server from the Centrifugal project. It is an open-source PUB/SUB server for user-facing messaging: your backend publishes into channels through a simple HTTP or gRPC API, and clients subscribe to those channels using official SDKs, or a unidirectional approach that needs no SDK.
Messages reach online users over WebSocket, HTTP streaming, Server-Sent Events, gRPC and WebTransport. Because it is language-agnostic, it can sit beside any backend and separates the business logic from the real-time transport. It is used for chat apps, live comments, multiplayer games, data visualizations, collaborative tools and streaming AI responses. An embedded admin UI shows live connections and lets you publish test messages, and Redis support allows scaling out.
Centrifugo is written in Go and licensed under Apache-2.0. It is pitched as a self-run replacement for hosted services like Pusher, Ably and PubNub and for libraries such as socket.io, Phoenix.PubSub and SignalR, and a Docker command starts it in a minute for local trials. The README warns that the insecure flags used in the quick start must never be used in production.
Key features
- Channel-based PUB/SUB messaging
- WebSocket, SSE, HTTP streaming and gRPC transports
- WebTransport support for browsers
- HTTP and gRPC publish API
- Official client SDKs
- Embedded admin UI
- Scaling out with Redis
Good fit for
- →Live chat and comments
- →Replacing Pusher or Ably with a self-hosted server
- →Streaming AI responses to browsers
- Tags
- real-time
- websocket
- pubsub
- messaging
- self-hosted
- pusher-alternative
- sse
- golang
- redis
Centrifugo: questions and answers
- What is Centrifugo used for?
- Centrifugo is a self-hosted, language-agnostic real-time messaging server that pushes messages to browsers and apps over WebSocket and other transports, an alternative to Pusher and Ably. It is a good fit for live chat and comments, replacing Pusher or Ably with a self-hosted server, and streaming AI responses to browsers.
- Is Centrifugo open source?
- Yes. Centrifugo is open source under the Apache-2.0 licence. Its source code is on GitHub at centrifugal/centrifugo and is written mainly in Go.
- Is Centrifugo free?
- Yes. Centrifugo is open source, so the software itself is free to use.
- Can I self-host Centrifugo?
- Yes. Centrifugo can be self-hosted on your own server or infrastructure.
- What is Centrifugo an alternative to?
- Centrifugo is an open-source alternative to Pusher, Ably, PubNub and Liveblocks. Other open-source alternatives to Pusher include Deepstream.io and Mercure.
- Is Centrifugo actively maintained?
- Yes. The most recent commit to Centrifugo was on 30 September 2026, and the latest release is v6.9.7, published on 29 September 2026. The project has 11k stars on GitHub.
Open-source alternatives to Centrifugo
See all
Deepstream.io
Backend as a Service
deepstream.io server
MITvs Pusher★ 7.2k
Mercure
Backend as a Service
🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communicatio
AGPL-3.0vs Pusher★ 5.3k
JuggleIM
Backend as a Service
IM Chat, High-performance, scalable, self-hosted instant messaging server in Go — private
Apache-2.0vs Sendbird★ 3.5k
OpenIM
Backend as a Service
IM Chat OpenClaw
Apache-2.0vs Sendbird★ 17k
WuKongIM
Backend as a Service
More than just IM 不只是即时通讯(IM)
Apache-2.0vs Sendbird★ 5k
Gotify
Backend as a Service
a simple server for sending and receiving messages
OSS★ 16k
SaaS alternatives to Centrifugo
See all
Pusher
Backend as a Service
Hosted WebSocket channels and push notifications for realtime features
SaaS
Ably
Backend as a Service
Realtime messaging platform with pub/sub, presence and message history
SaaS
PubNub
Backend as a Service
Realtime messaging and presence APIs for chat, IoT and live apps
SaaS
Liveblocks
Backend as a Service
Infrastructure for real-time collaboration, presence and comments inside apps
SaaS
Sendbird
Backend as a Service
Chat, voice and video APIs and SDKs for in-app messaging
SaaS
Stream
Backend as a Service
Chat, activity feeds, video and moderation APIs for in-app social features
SaaS

