Centrifugo

Centrifugo is an open-source, self-hosted real-time messaging server.

  • Communication
  • Databases
Centrifugo is an open-source, self-hosted real-time messaging server. It delivers messages instantly to online users over WebSocket, HTTP-streaming, Server-Sent Events, GRPC, and WebTransport, using channel subscriptions as a user-facing publish/subscribe server. Language-agnostic, it integrates with any backend stack and scales to thousands of concurrent connections, serving as a self-hosted alternative to hosted services like Pusher, PubNub, and Ably. It's ideal for developers and homelabbers who want real-time features (notifications, chat, live updates) without depending on a third-party cloud.

Platform availability

Available on 4 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac
  • Windows
  • Linux
  • Any server

Other devices

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

86/100 Excellent

Maintained
100last commit 1 day ago
Popular
8111,066 GitHub stars
Easy to install
655 install platforms, install notes
Light to run
No data

Based on 3 of 4 factors.

Availability: platform listings confirmed today

GitHub stars
11,066
Open issues
34
Last commit
2026-12-02
Latest release
v6.10.4
License
Apache-2.0
Activity
steady

Checked today - source: GitHub (centrifugal/centrifugo)

Resources & Compatibility

Requirements not published yet.

Checked today - source: Docker Hub image tags and published docs

First-install notes

  • Generate a config file before first launch Run `./centrifugo genconfig` to create a config.json, then start the server with `./centrifugo -c config.json`. Centrifugo needs this config file to know how to run — without it you have no settings to point your app at, and the server won't start properly. source
  • First launch Generate a config file before first launch (e.g. centrifugo genconfig). Quick start with Docker: docker run -p 8000:8000 centrifugo/centrifugo:v6. Binaries for Linux, macOS, Windows, and FreeBSD are on the GitHub releases page. source

Fetched today - each note links to its source

Alternatives (3)

  • Pushbullet - Send links, files, photos, lists, and notes instantly between devices, mirror phone notifications to desktop, and access clipboard syncing…
  • Pushover - Pushover is a simple push notification service that integrates easily into web apps, network monitoring systems, shell scripts, and anythin…
  • ntfy - Ntfy is a simple HTTP-based publish-subscribe notification service that lets you send push notifications to your phone or desktop from any…

Checked today - source: AlternativeTo

Common questions

Why does my client disconnect immediately with error code 3501 'bad request'?

This usually means the client did not provide authentication credentials. Centrifugo requires authentication via JWT, a connect proxy, or an auth header proxy; you can also allow anonymous connections, or enable client.insecure for local development only, but never in production.

Can I use the --client.insecure and --admin.insecure flags in production?

No. These insecure flags remove authentication and disable most security checks and are only meant for a frictionless local trial.

Do I need to create a config file before starting Centrifugo?

Yes. Run `centrifugo genconfig` to generate a config.json before first launch, then start the server with `centrifugo -c config.json`. Without it the server has no settings to run with.

How many concurrent connections can a single Centrifugo node handle?

It depends on transport, hardware, message rate and size, and features enabled, so there is no fixed answer. As a general guideline, don't put more than 50-100k clients on one node, and measure and monitor your own setup.

How does my backend publish messages to clients?

Your backend never talks WebSockets directly; it makes a simple HTTP or GRPC API call (e.g., an HTTP POST) to publish into channels, and Centrifugo handles sockets, reconnection, and delivery to subscribed clients.

Answers sourced from blog.elest.io, centrifugal.dev, github.com, github.com

Community

Collected today - public community threads