
Live dashboards, collaborative editors and multiplayer features all need the same thing: when data changes, every screen that shows it should update. With most databases the application has to poll for changes or bolt on a separate messaging layer. RethinkDB was designed around the opposite idea. A client asks a query once and the database pushes every later change to it.
This article explains what RethinkDB is, how its changefeeds work, the project's history and current status, and when it is still a sensible choice.
What is RethinkDB?
RethinkDB is an open-source, distributed document database. It stores JSON documents in tables, queries them with its own language, ReQL, and can stream changes to query results in real time. It runs as a cluster of servers with sharding and replication, managed through a built-in web console.
Slava Akhmechet and Michael Glukhovsky co-founded the company behind it in 2009, with early backing from Y Combinator. After three years of development, RethinkDB 1.2 was released on 9 November 2012 as its first public, open-source version, and RethinkDB 2.0 was declared production-ready in April 2015.
The commercial story ended early. The company shut down in October 2016 after failing to build a sustainable business. In February 2017 the Cloud Native Computing Foundation bought the source code and its rights, relicensed it from AGPLv3 to the Apache 2.0 licence, and contributed it to the Linux Foundation. Since then a volunteer community has maintained it: RethinkDB 2.4 came out in December 2019, followed by maintenance releases focused on fixes and platform compatibility rather than major new features.
How RethinkDB works
Documents and ReQL. Data is stored as JSON documents. ReQL queries are written as chained method calls in the host language, for example in JavaScript or Python, rather than as query strings, which makes them composable and harder to inject into. ReQL supports filters, joins, aggregations and map/reduce.
Changefeeds. Adding .changes() to a query turns it into a live subscription. The server sends the initial result and then every insert, update or delete that affects it, as old and new values. This works on whole tables, on filtered queries and on ordered, limited queries such as "the top ten scores".
Distributed by design. Tables are range-sharded on the primary key and replicated across servers. Each shard has one primary replica that orders all reads and writes for its keys, so data stays immediately consistent. With three or more servers, a failed primary is replaced automatically, using Raft for cluster configuration.
Atomic per document. Updates to a single document are atomic, even when they combine several operations. Updating several documents atomically, in one multi-document transaction, is not supported.
Key features
- Push-based changefeeds that remove the need for polling.
- ReQL, an embedded, composable query language with joins and aggregations.
- Web administration console for monitoring, sharding and replication settings.
- Automatic failover in clusters of three or more servers.
- Official drivers for JavaScript, Python, Ruby and Java, plus community drivers for other languages.
- Apache 2.0 licence, with no commercial edition.
Where RethinkDB is used
- Real-time dashboards and monitoring that should update the moment data arrives.
- Collaborative applications, where several users edit the same records.
- Multiplayer and live features, such as scores, presence and activity feeds.
- Event-driven back ends, where services react to data changes instead of polling.
When to choose RethinkDB, and when not to
Consider RethinkDB when:
- Real-time propagation of data changes is the core requirement, and you want it from the database itself.
- The data fits a JSON document model and single-document atomicity is enough.
- Your team is comfortable running and upgrading a community-maintained project.
Look elsewhere when:
- You need a vendor with commercial support, a managed cloud service or a fast release cadence.
- Transactions must span several documents, as in payments or inventory. PostgreSQL or MongoDB fit better.
- You want real-time updates without operating a database cluster. Firebase and Firestore offer managed live listeners.
- The real-time part is only messaging between clients. Socket.IO, Pusher or Redis Pub/Sub is simpler.
Be honest about the risk: the project is alive, but small. Check recent commits, driver support for your language and how quickly security issues get fixed before committing a long-lived product to it.
RethinkDB and its alternatives
| Option | Real-time model | Hosting | Best fit |
|---|---|---|---|
| RethinkDB | Changefeeds on queries | Self-hosted | Live apps on a self-managed document store |
| MongoDB | Change streams | Self-hosted or Atlas | General document workloads with change events |
| Firestore | Real-time listeners | Managed (Google Cloud) | Mobile and web apps without servers to run |
| PostgreSQL | LISTEN/NOTIFY, logical replication | Self-hosted or managed | Relational data with occasional change events |
| Supabase / SurrealDB | Realtime subscriptions, live queries | Managed or self-hosted | Newer stacks that want real time out of the box |
MongoDB is the most common comparison. Its change streams cover much of what changefeeds do, and it comes with a large ecosystem, multi-document transactions and a managed service. RethinkDB's changefeeds remain simpler to use on ordered and limited queries.
How we use RethinkDB at Internative
We use RethinkDB where real-time data propagation is critical. Its push-based model simplifies system design and lets us build highly responsive applications with little extra infrastructure.
If you are planning a live dashboard, a collaborative tool or any product where screens must update the moment data changes, our web application development team can help you choose the real-time architecture that fits.
Frequently asked questions
Is RethinkDB dead?
No, but it is no longer backed by a company. The original company shut down in 2016, and the code has been maintained by a volunteer community under the Linux Foundation since 2017. Releases are infrequent and mostly carry fixes and compatibility updates.
Is RethinkDB free?
Yes. RethinkDB is open source under the Apache 2.0 licence and can be used in commercial products without fees. There is no paid edition or official managed service.
What is the difference between RethinkDB and MongoDB?
Both store JSON-like documents. RethinkDB was built around pushing query changes to clients and uses the embedded ReQL language. MongoDB has a much larger ecosystem, multi-document transactions, change streams and a managed cloud service, and it is actively developed by a company.
What are the alternatives to RethinkDB?
For real-time features, common alternatives are MongoDB with change streams, Firebase or Firestore for managed real-time data, PostgreSQL with LISTEN/NOTIFY or logical replication, and newer databases such as SurrealDB that include live queries.
Keep reading
The articles that follow this one.



