qmetrics.net

Centrifugo

Self-hosted scalable real-time pub/sub messaging server

Centrifugo screenshot

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.

Overview

Centrifugo is a real-time messaging server built around channel subscriptions, so applications treat it as a user-facing publish and subscribe layer separate from business logic. Client devices connect with official SDKs or unidirectional transports, while your application server publishes events into named channels.

The server supports several wire transports and scales across nodes using Redis, PostgreSQL, or NATS for coordination. Features include flexible authentication, subscription multiplexing, channel history with reconnect recovery, presence, RPC to backends, JSON or Protobuf payloads, and an embedded admin web UI with Prometheus metrics.

Deployment is commonly started via Docker or native packages, with documentation covering production configuration and client quickstarts. The design targets chat, live comments, dashboards, multiplayer sync, IoT feeds, and streaming AI token delivery where many subscribers must receive the same publication efficiently.

Centrifugo is language-agnostic: any backend can integrate through a simple publishing API while clients subscribe through the supported transports and SDKs.

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
  • HTTP and gRPC backend publish API
  • Embedded admin UI and Prometheus metrics

Use cases

  • Real-time chat and messaging
  • Live dashboards and metrics streaming
  • Multiplayer game state sync
  • AI response token streaming to browsers
  • Fan-out live data feeds to many clients

Open-source alternative to

Ably
“Centrifugo is an open-source real-time messaging server — a self-hosted alternative to PubNub, Pusher, Ably, Socket.IO, Phoenix.PubSub & SignalR.” source
PubNub
“Centrifugo is an open-source real-time messaging server — a self-hosted alternative to PubNub, Pusher, Ably, Socket.IO, Phoenix.PubSub & SignalR.” source
Pusher
“Centrifugo is an open-source real-time messaging server — a self-hosted alternative to PubNub, Pusher, Ably, Socket.IO, Phoenix.PubSub & SignalR.” source

Tags

Compare Centrifugo

Similar software

ntfy

HTTP pub-sub push notification service

Ntfy sends push notifications to phones and desktops via simple HTTP PUT or POST requests and a REST API, without requiring sign-up on the public host.

  • HTTP PUT and POST publishing
  • REST API access
  • Topic-based pub-sub
GoWeb, Android, iOSDetails →
★ 35.9k⟳ yesterdayApache-2.0 · open core
Open Source Alternative to:SuprSend

NSQ

Realtime distributed message queue and pub-sub platform

NSQ is a distributed messaging system built for large-scale throughput. It avoids single points of failure and ships with official Go and Python client libraries.

  • Horizontally scalable decentralized brokers
  • Pub-sub and load-balanced delivery
  • Command-line configuration and deployment
GoLinux, macOS, Windows, DockerDetails →
★ 25.8k⟳ 3 months agoMIT
Open Source Alternative to:Amazon SQS

NATS

High-performance cloud and edge messaging server

The NATS server is the messaging runtime for services and devices, aimed at distributed deployments from data centers to constrained edge hardware

  • Many-to-many async messaging
  • On-premise and cloud deployment
  • Edge and IoT oriented topology
GoDetails →
★ 21.3k⟳ todayApache-2.0
Open Source Alternative to:AblyAmazon SQS+1

OpenIM Server

Developer-oriented instant messaging backend server

OpenIM Server is the backend for embedding chat, groups, and messaging in your apps—not a standalone consumer chat client.

  • Microservice IM backend
  • REST APIs for business logic
  • Event webhooks
GoDockerDetails →
★ 16.8k⟳ 24 days agoApache-2.0

Bull

Redis-backed distributed job queue for Node.js

Bull is a Node.js queue library backed by Redis for delayed, prioritized, repeatable, and rate-limited background jobs with sandboxed workers.

  • Redis-backed durable queues
  • Delayed and cron-repeatable jobs
  • Job priorities and rate limiting
JavaScriptDetails →
★ 16.3k⟳ 6 months agoMIT
Open Source Alternative to:Amazon SQS

Gotify

Self-hosted real-time message server with Web UI

Gotify is a server for sending and receiving messages in real time over WebSocket. It includes a web interface and can run on your own infrastructure.

  • Send messages via REST API
  • Receive messages via WebSocket
  • Web UI for administration
GoWebDetails →
★ 16.3k⟳ 2 days agoMIT