CentrifugoSelf-hosted scalable real-time pub/sub messaging server
MercureOpen protocol and hub for HTTP real-time updates
Centrifugo vs Mercure
How Centrifugo and Mercure compare on popularity, activity, license and platforms: two open-source Messaging & Event Streaming projects, both alternatives to Ably.
At a glance
- Centrifugo has more GitHub stars (11.1k vs 5.4k, about 2× as many).
- Both are actively maintained (last commits 2 days ago and yesterday).
- Centrifugo uses Apache-2.0 (permissive); Mercure uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- Centrifugo is the older project (repository started 2015; Mercure in 2018).
Side by side
| Centrifugo | Mercure | |
|---|---|---|
| GitHub stars | ★ 11,070 +24 in 7 days | ★ 5,370 +5 in 7 days |
| Forks | 766 | 351 |
| Last commit | 2 days ago | yesterday |
| Latest version | v6.10.4 | v1.1.7 |
| Repository started | March 2015 | July 2018 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Web, Docker | Docker |
| Main language | Go | Go |
| Alternative to | Ably, PubNub, Pusher | Ably |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Centrifugo
Centrifugo delivers channel-based real-time messages to online clients over WebSocket, SSE, HTTP streaming, gRPC, and WebTransport. Backends publish via HTTP or gRPC APIs.
Key features
- Channel-based pub/sub for online users
- WebSocket, SSE, and HTTP streaming transports
- Redis, PostgreSQL, or NATS multi-node scaling
- JWT and proxy connection authentication
- Message history and reconnect recovery
- Online presence and join or leave events
Mercure
Mercure pushes data updates to browsers and other HTTP clients using server-sent events. It suits async API updates, notifications, and live UIs without mandatory WebSocket client SDKs.
Key features
- Server-sent events over HTTP
- JWT-authenticated publish endpoint
- EventSource subscribe on clients
- Official Go hub and Docker image
- GraphQL subscription pattern support
- LLM token streaming use case