CentrifugoSelf-hosted scalable real-time pub/sub messaging server
NATS ServerHigh-performance cloud and edge messaging server
Centrifugo vs NATS Server
How Centrifugo and NATS Server compare on popularity, activity, license and platforms: two open-source Messaging & Event Streaming projects, both alternatives to Ably and PubNub.
At a glance
- NATS Server has more GitHub stars (21.2k vs 11k).
- Both are actively maintained (last commits today and yesterday).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
- NATS Server is the older project (repository started 2012; Centrifugo in 2015).
Side by side
| Centrifugo | NATS Server | |
|---|---|---|
| GitHub stars | ★ 11,046 | ★ 21,188 |
| Forks | 761 | 2,069 |
| Last commit | today | yesterday |
| Latest version | v6.10.3 | v2.15.3 |
| Repository started | March 2015 | October 2012 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Docker, Web | Docker |
| Main language | Go | Go |
| Alternative to | Ably, PubNub, Pusher | Ably, PubNub |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 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
NATS Server
The NATS server is the messaging runtime for services and devices, aimed at distributed deployments from data centers to constrained edge hardware
Key features
- Many-to-many async messaging
- On-premise and cloud deployment
- Edge and IoT oriented topology
- Leaf nodes and superclusters
- Broad multi-language client ecosystem
- CNCF graduated messaging stack