6 open-source alternatives ranked by real activity

Open-source Ably alternatives

A curated, ranked list of the 6 best open-source alternatives to Ably.

The best open-source alternative to Ably is NATS. If that doesn't suit you, other good options are EMQX, Centrifugo, Mercure and Deepstream.io.

Commercial alternatives to Ably include PubNub, Liveblocks, Pusher and Stream. See all 13.

Ably alternatives are mainly backend-as-a-service tools, but some are also infrastructure & container tools and team chat tools. 5 of them shipped code in the last 30 days, 6 can be self-hosted, and 4 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

NATS

NATS Server is a high-performance messaging server for distributed systems, microservices and edge devices, written in Go.

GitHub stars
21k
Last commit
2 days ago
Latest release
v2.15.3
Licence
Apache-2.0
Self-hosted
Yes
nats.ioNATS homepage screenshot

NATS is a messaging system for connecting applications, services and devices, and nats-server is its Go implementation. It works as a message bus and queue for microservices and other distributed systems, and the server is a single lightweight program that runs in many different environments.

The server can run on-premise, in the cloud, at the edge and even on a Raspberry Pi. The project lists more than 40 client language implementations, so services written in different languages can talk to one another. NATS is part of the Cloud Native Computing Foundation and aims to simplify the design and operation of modern distributed systems.

NATS Server is free software under the Apache 2.0 license and is distributed through Docker images and GitHub releases. Repository topics point to uses in cloud-native microservices, connected vehicles and edge computing.

Key features

  • High-performance messaging server written in Go
  • Message bus and queue patterns
  • Over 40 client language libraries
  • Runs on-premise, in the cloud or at the edge
  • Small footprint that fits a Raspberry Pi
  • Docker images available

Pricing: Free and open source under the Apache 2.0 license.

EMQX

EMQX is a unified MQTT platform that connects, processes, and streams real-time data from millions of devices to cloud, AI, and analytics systems.

GitHub stars
17k
Last commit
yesterday
Latest release
6.3.3
Self-hosted
Yes
Hosted version
Available
emqx.comEMQX homepage screenshot

EMQX is a unified MQTT platform designed for connecting, processing, and streaming real-time data from millions of devices to cloud, AI, and analytics systems. It combines an MQTT broker, SQL-based rules engine, and data integration into one platform, enabling users to turn IoT data into actionable intelligence. The platform is trusted by global leaders in automotive, manufacturing, and AI infrastructure.

Key features

  • Scales to 100M+ devices and millions of messages per second with sub-ms latency within a single cluster
  • Combines MQTT broker, SQL-based rules engine, and data integration into one platform
  • Empowers AI agents with real-time access to physical devices using built-in MCP support
  • Offers a portfolio including EMQX Cloud (fully managed), EMQX Enterprise (self-managed), EMQX Edge (lightweight edge), and EMQX Neuron

Centrifugo

Centrifugo is a self-hosted, language-agnostic real-time messaging server that pushes messages to browsers and apps over WebSocket and other transports, an alternative to Pusher and Ably.

GitHub stars
11k
Last commit
2 days ago
Latest release
v6.10.3
Licence
Apache-2.0
Self-hosted
Yes
centrifugal.devCentrifugo homepage screenshot

This entry covers Centrifugo, the real-time messaging server from the Centrifugal project. It is an open-source PUB/SUB server for user-facing messaging: your backend publishes into channels through a simple HTTP or gRPC API, and clients subscribe to those channels using official SDKs, or a unidirectional approach that needs no SDK.

Messages reach online users over WebSocket, HTTP streaming, Server-Sent Events, gRPC and WebTransport. Because it is language-agnostic, it can sit beside any backend and separates the business logic from the real-time transport. It is used for chat apps, live comments, multiplayer games, data visualizations, collaborative tools and streaming AI responses. An embedded admin UI shows live connections and lets you publish test messages, and Redis support allows scaling out.

Centrifugo is written in Go and licensed under Apache-2.0. It is pitched as a self-run replacement for hosted services like Pusher, Ably and PubNub and for libraries such as socket.io, Phoenix.PubSub and SignalR, and a Docker command starts it in a minute for local trials. The README warns that the insecure flags used in the quick start must never be used in production.

Key features

  • Channel-based PUB/SUB messaging
  • WebSocket, SSE, HTTP streaming and gRPC transports
  • WebTransport support for browsers
  • HTTP and gRPC publish API
  • Official client SDKs
  • Embedded admin UI
  • Scaling out with Redis

Pricing: Free and open source under the Apache-2.0 licence.

Mercure

A protocol and Go reference hub for pushing real-time updates to browsers and other HTTP clients, for apps built on web APIs.

GitHub stars
5.4k
Last commit
3 days ago
Latest release
v1.1.6
Licence
AGPL-3.0
Self-hosted
Yes
Hosted version
Available
mercure.rocksMercure homepage screenshot

Mercure is a protocol that lets servers push updates to browsers and other HTTP clients without polling, while staying light on battery. It is especially useful for publishing asynchronous, real-time updates to resources served through web APIs, so reactive web and mobile apps can react as data changes.

The repository contains both the protocol, which is also published as an Internet-Draft, and a production-grade reference implementation of a Mercure hub, the server component. The hub is written in Go and is built around Server-Sent Events. A Go library lets applications implement the protocol directly without running a hub, and an official Docker image is provided.

Mercure is free software under AGPL-3.0, created by Kévin Dunglas and sponsored by Les-Tilleuls.coop. Teams that prefer not to operate the hub can use the managed, high-scalability version offered through Mercure.rocks, and the project provides a getting-started guide, full documentation and a demo.

Key features

  • Real-time push updates over HTTP
  • Reference hub server written in Go
  • Go library to embed the protocol
  • Official Docker image
  • Server-Sent Events support
  • Internet-Draft protocol specification

Pricing: The open-source hub is free. Managed Cloud costs €30, €100, €250 or €500 per month; commercial self-hosted tiers run €1,500, €5,000 and €12,000 per year. No Cloud free trial.

Deepstream.io

An open realtime server for syncing data, publishing events and making remote procedure calls at scale, with built-in authentication and a permission language.

GitHub stars
7.2k
Last commit
1 mo ago
Latest release
v10.2.4
Licence
MIT
Self-hosted
Yes
deepstreamio.github.ioDeepstream.io homepage screenshot

deepstream is an open-source realtime server inspired by ideas from financial trading technology. It lets clients and backend services sync data, exchange messages and make remote procedure calls at high speed and scale, and it is written in TypeScript for Node.js.

It is built on three core concepts. Records are schema-less, persistent documents that clients can edit and observe, with changes synchronized to all connected clients and backend processes in milliseconds and links between records to model relational data. Events provide publish-subscribe messaging with topic-based routing and subscription listening. RPCs offer request-response workflows with load balancing, failover and message routing handled by the server.

Security combines several authentication mechanisms with a permission language called Valve that specifies which user can do which action on which data. deepstream is licensed under MIT and hosted by you, with tutorials, a quickstart and documentation, plus community support on Stack Overflow and GitHub Discussions. It suits developers building collaborative or live-updating applications.

Key features

  • Realtime synced records
  • Publish-subscribe events with topic routing
  • RPCs with load balancing and failover
  • Pluggable authentication mechanisms
  • Valve permission language
  • WebSocket-based realtime transport

Pricing: Free and open source under the MIT licence.

Kuzzle

An open source, self-hostable backend with a multi-protocol API, data storage and search, real-time notifications and user management.

GitHub stars
1.7k
Last commit
yesterday
Latest release
v2.61.0
Licence
Apache-2.0
Self-hosted
Yes
kuzzle.ioKuzzle homepage screenshot

Kuzzle is a generic backend that supplies the building blocks common to most applications, so developers can spend their time on business features. It is open source under the Apache 2.0 licence, written in TypeScript, and aimed at web and mobile apps as well as IoT networks.

The backend exposes a standardised multi-protocol API, stores data and runs advanced searches on it, and offers a pub/sub system plus notifications from database changes. User login, logout and security rules are included, client SDKs are provided, and a framework lets you add your own API controllers. It relies on Elasticsearch and Redis.

The company behind it, active since 2016, also sells Kuzzle IoT, Kuzzle Data and Kuzzle Hypervision platforms for sectors such as smart cities, buildings, logistics and industry, plus tailor-made services. The README mentions support plans and training. Contact and demo requests go through the company site rather than a published price list.

Key features

  • Generic backend with common application building blocks
  • Standardised multi-protocol API
  • Data persistence with advanced search
  • Pub/sub and database change notifications
  • Built-in login and security rules
  • Integrated framework for custom business features
  • Client SDKs for frontend work
  • Kourou command line tool scaffolds new apps

Commercial Ably alternatives

Hosted, closed-source products that compete with Ably. Showing 12 of 13.

See every Ably alternative on its tool page

Ably alternatives: questions

What is the best open-source alternative to Ably?
NATS is the top-ranked open-source alternative to Ably on Enlisted: NATS Server is a high-performance messaging server for distributed systems, microservices and edge devices, written in Go. Other strong options are EMQX, Centrifugo, Mercure and Deepstream.io.
What are the best commercial alternatives to Ably?
PubNub, Liveblocks, Pusher, Stream and Courier are among the hosted, closed-source alternatives to Ably listed on Enlisted, which lists 13 in total. Compare their pricing and features on each tool page.
Are these Ably alternatives free?
All 6 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 2 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Ably alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 5 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all