BASE

Centrifugo

Centrifugo

Realtime and notifications · Free

A language-independent realtime server: pub/sub channels and client SDKs deliver UI events through WebSocket and other transports.

Resource illustration: Centrifugo

Open resource ↗

What you can use for free

The open source component used locally or self-hosted for the stated workflow, within its license terms.

Paid features and costs

Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.

Access and limitations

Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.

Use cases

  • Add updates without reloading the page
  • Publish an event through the server API and check that both clients update

Example workflow

A possible workflow; this is not a report of hands-on testing.

Add updates without reloading the page

Before you start

  • A test backend, private channel, and two clients.
  • A test project and completion criteria for the task: Add updates without reloading the page.

Steps

  1. Set up Centrifugo to test: A test backend, private channel, and two clients.
  2. Publish an event through the server API and check that both clients update.
  3. Integrate the checked version into your project; document its configuration, limitations, and recovery method.

Check your result

  • The token does not allow subscription to someone else’s channel; reconnection preserves the expected state.
  • Check the result against a reference example; separately confirm the terms of any assets and external services used.

Choosing Centrifugo

Add updates without reloading the page

Choose this when

  • Add updates without reloading the page
  • Publish an event through the server API and check that both clients update

Requirements

  • An event-publishing backend and a client for the chosen transport; production requires configured authentication and channel permissions.

Things to consider

  • Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
  • Terms of use: Apache-2.0
  • In the demonstration Docker example, insecure flags disable authentication; the authors explicitly limit this configuration to local trials. WebTransport is marked experimental.

Frequently asked questions

What can you use for free in Centrifugo?

The openly available portion, used locally or self-hosted for the stated use case within its license terms.

What additional costs might arise with Centrifugo?

Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.

What terms of use matter for Centrifugo?

Apache-2.0

How do you get started with Centrifugo?

Set up Centrifugo to test: A test backend, private channel, and two clients. Publish an event through the server API and check that both clients update. Integrate the checked version into your project; document its configuration, limitations, and recovery method.

Where does business logic stay, and how do messages reach clients?

Your backend publishes messages to channels through an HTTP or gRPC API; clients subscribe to channels. Centrifugo handles transport and subscriptions rather than application business logic. It offers bidirectional SDKs with reconnect/recovery and unidirectional transports that can be used without an SDK.

License

Apache-2.0

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Centrifugo
  • Realtime and notifications

Sources

Other resources