SC

RethinkDB

RethinkDB spent five years making its database correct while developers settled on MongoDB, gave the software away with little to sell, and ran out of money before its cloud service shipped.

Why RethinkDB lost to MongoDB

  1. 1 · 2009–15Correct first, three years lateBuilt for correctness, simplicity and consistency; declared production-ready only in April 2015.Product Leadership
  2. 2 · 2009–16Free open source with little to sellThousands used it at work without paying; paid support arrived only with version 2.0 in 2015.Developer-First Strategy
  3. 3 · 2014–15Always asked how it differed from MongoDBRealtime push from 2014 set it apart, but met Firebase and Meteor already in place.Focus Strategy
  4. 4 · 2015–16Declined hosting; its cloud never shippedHorizon launched in May 2016 with its cloud in private beta; the company closed that October.Resource allocation
  5. 5 · 2017–19Its remaining users moved to MongoDBThe code went to the Linux Foundation in 2017; signageOS replaced RethinkDB with MongoDB in 2019.

Versus MongoDB: MongoDB shipped in 2009 with drivers for every popular language, gave the database away as the route to paid products, and launched a managed service in 2016 MDX-1 MDX-2. RethinkDB spent those years perfecting its database, found a realtime feature after developers had chosen, and was still building its cloud service when the money ran out RE1 RE4.

Arena: Market Conditions Before RethinkDB

Application developers · 2009 · Worldwide

In 2009 a developer starting a web application chose its database, usually without buying anything. New companies were not being built on Oracle, and open-source databases could be downloaded and run before anyone paid, so the choice was a developer's technical decision rather than a vendor purchase RE1. Developers weighed query behavior, performance, correctness and operating work, but what decided most choices was practical: whether the database existed when they needed it, whether it felt fast on the quick tests they ran, and whether it was a good way to do one job, such as storing JSON documents from a web framework, storing logs or producing reports RE1. Because developers built so many tools of this kind, often for free, the price of the software itself tended toward zero RE1.

How each step happened

Step 1 of 5 · 2009–15

Correct first, three years late

A better database, finished later

RethinkDB was pitched at Y Combinator's demo day in 2009, before it had any software RE1. Slava Akhmechet's team wanted "an elegant, robust, and beautiful product" and chose three standards: correctness, with strict guarantees kept "religiously"; a simple interface, with the complexity absorbed inside the database; and consistency across the query language, drivers, cluster setup and documentation RE1. Each standard made the database better once it existed and slower to finish. After five years of development and 16 major releases, RethinkDB declared version 2.0 ready for production in April 2015 RE2.

Akhmechet later called these "the wrong metrics of goodness for most users" RE1. Developers wanted a database that existed when they needed it, felt fast on the tests they actually ran and was a good way to do a specific job RE1. "That put us three years behind the market," he writes RE1. The years spent finishing the database were the years in which developers made their choice. They chose MongoDB, and its early weaknesses were fixed one by one while it was already in use RE1. In Akhmechet's words, "MongoDB turned regular developers into heroes when people needed it, not years after the fact" RE1.

Rivals MongoDB dropped its application platform, wrote a driver for each popular language and launched publicly in 2009 MDX-1 MDX-2. Akhmechet lists the flaws of early MongoDB, from a global lock to weak sharding, that developers accepted in exchange for speed RE1.

Product LeadershipDeveloper-First Strategy

Step 2 of 5 · 2009–16

Free open source with little to sell

The business model ran alongside the build from the start, and on its face it was MongoDB's: a free, open-source database developers could download and run without a purchase RE1 RE5. The difference was what came after the download. Akhmechet says users saw RethinkDB as an open-source developer tools company, "because that's what we really were", and he calls that "one of the worst markets one could possibly end up in" RE1. Thousands of people used RethinkDB, often at work, but most would pay nothing at all RE1.

RethinkDB had little to sell them. Commercial services, meaning training, development help and production support from its engineers, arrived only with version 2.0 in 2015 RE2. Akhmechet estimates that a developer tools startup must work through ten times as many leads as other business-software startups to make one sale, which "demoralizes the team" and makes investment and hiring harder RE1. A slow sales funnel meant less money for product and distribution, and so less chance to recover the delay from step 1.

Rivals MongoDB chose its open-source licence as a route to paid products, demonstrated the database at language meetups city by city, and grew from 2,563 downloads in October 2009 to more than 30 million by 2017, with existing customers spending more each year MDX-1 MDX-3 MDX-2.

Developer-First Strategy

Step 3 of 5 · 2014–15

Always asked how it differed from MongoDB

By the time RethinkDB was ready to recommend for production, the comparison had been set. "Almost everyone was asking 'how is RethinkDB different from MongoDB?'", Akhmechet writes, and explaining the value of correctness did not change their answer RE1. MongoDB had become the document database that developers' code and skills assumed MDX-2.

In mid-2014, once it was clear RethinkDB could not compete head-on, the team looked for a reason to adopt that MongoDB did not offer RE1. It found realtime push: changefeeds let an application tell the database to send live updates whenever data changed, instead of repeatedly asking for them RE2 RE3. Version 2.0 was presented as a database for realtime apps, version 2.2 in November 2015 made changefeeds more reliable, and hundreds of startups and Fortune 500 companies ran RethinkDB in production RE2 RE7. The feature was real, but it put RethinkDB against Meteor and Firebase, which had been solving realtime for years; Akhmechet says it was again three years behind RE1. And the difference was a feature, which MongoDB could add later, not a different interface that developers' code depended on.

Rivals MongoDB had been the most popular modern database on DB-Engines since 2013, and more developers listed it as a LinkedIn skill than nearly all other non-relational databases combined MDX-2. Firebase and Meteor had built their realtime layers on top of MongoDB RE1.

Focus Strategy

Step 4 of 5 · 2015–16

Declined hosting; its cloud never shipped

With money running short, RethinkDB turned to a cloud service, knowing, Akhmechet says, that it meant "running two startups at once" RE1. Managed hosting, running the database on AWS for customers, had a low price ceiling, and Compose.io and mLab already hosted MongoDB, which had one to two orders of magnitude more users; RethinkDB hosting "wouldn't make a dent" RE1. A full database service meant competing with Amazon and Microsoft for customers reluctant to hand their data to a startup RE1. They chose a platform for building whole applications, where controlling the stack beneath realtime queries gave RethinkDB an edge over Firebase and Meteor RE1.

Horizon, released in May 2016, was an open-source backend that gave JavaScript developers realtime data, authentication, sessions and permissions without writing server code RE3. Horizon Cloud, the paid service to deploy and scale those apps, was still in private beta RE3. Three large projects fell on a very small team, and the cloud service never shipped RE1. On October 5, 2016 the company shut down, unable to build a sustainable business, and its engineers joined Stripe RE4. Matt Asay of TechRepublic adds that customers are wary of trusting a startup with their data RE8.

Rivals MongoDB had started as an application platform and dropped it for the database in 2008 MDX-1. It built Atlas, a managed service for the database developers already used, in about six months and launched it in June 2016; Atlas later became most of its revenue MDX-1 MDB1.

Resource allocation

Step 5 of 5 · 2017–19

Its remaining users moved to MongoDB

The software outlived the company. The Cloud Native Computing Foundation bought the rights to the code and gave it to the Linux Foundation in February 2017 under the permissive Apache licence, and volunteers kept releasing versions RE5. But users were now choosing a database with no company behind it.

signageOS, a digital signage company, shows how the realtime difference from step 3 wore out. It had used RethinkDB from the start because it could listen for changes to data in real time, and its user interface depended on that RE9. During a 2019 move to AWS, replication slowed the whole RethinkDB cluster; the team also faults its own migration plan RE9. It then replaced RethinkDB with MongoDB for three reasons: MongoDB also offered real-time change listening, it was "actively developed by a large company, 1000+ employees strong", and it had handled heavier load well RE9. The feature RethinkDB chose in 2014 to set itself apart was now available on the database developers already knew, from a supplier that would keep developing it.

Rivals MongoDB kept its users through the applications and skills written to its interface; Microsoft and AWS built MongoDB-compatible services rather than ask developers to rewrite MDX-8 MDX-5.

Key dates

  1. 2009Pitched at Y Combinator demo day, before any software
  2. 2009-02MongoDB released as free open source MDX-2
  3. 2013MongoDB leads DB-Engines' modern databases MDX-2
  4. 2014Turns to realtime push to stand apart
  5. 2015-04Version 2.0 declared production-ready
  6. 2015-04100,000+ developers Community size; paid support introduced RE2
  7. 2015-11Version 2.2 refines changefeeds
  8. 2016-05Horizon released; Horizon Cloud in private beta
  9. 2016-051,700+ contributors Tested Horizon before launch RE3
  10. 2016-06MongoDB launches Atlas MDX-1
  11. 2016-10Company shuts down; engineers join Stripe
  12. 2017-01Founder's post-mortem: wrong market, wrong metrics RE1
  13. 2017-02Code moves to the Linux Foundation
  14. 2017-09MongoDB: 30 million+ downloads Since 2009, at its IPO filing MDX-2
  15. 2019-04signageOS replaces RethinkDB with MongoDB

Sources

Oldest first.

  1. RE2 RethinkDB 2.0: production ready. Ryan Paul / RethinkDB · 2015-04-14 Product release
  2. RE7 RethinkDB 2.2. Ryan Paul / RethinkDB · 2015-11-12 Product release
  3. MDX-8 Microsoft's DocumentDB now lets you use your mad MongoDB skills. TechCrunch · 2016-03-31 Trade report
  4. RE3 Introducing Horizon. Ryan Paul / RethinkDB · 2016-05-17 Product release
  5. RE4 RethinkDB is shutting down. Slava Akhmechet / RethinkDB · 2016-10-05 Founder announcement
  6. RE1 RethinkDB: why we failed. Slava Akhmechet; mirror by Luciano Ramalho · 2017-01-19 Founder retrospective
  7. RE8 RethinkDB is dead, and MongoDB is not what killed it. Matt Asay / TechRepublic · 2017-01-24 Outside analysis
  8. RE5 RethinkDB joins the Linux Foundation. Michael Glukhovsky / RethinkDB · 2017-02-06 Primary company record
  9. MDX-2 MongoDB, Inc. Form S-1. U.S. SEC · 2017-09-21 Filing
  10. MDX-3 Reflections on MongoDB's IPO. Hazard Lights (Chip Hazard, Flybridge) · 2017-11-15 Investor essay
  11. MDX-5 AWS Announces Amazon DocumentDB (with MongoDB Compatibility). Amazon · 2019-01-09 Rival press release
  12. RE9 signageOS Server Migration to AWS. Martin Vallo / signageOS · 2019-04-24 Primary participant record
  13. MDX-1 MongoDB ft. Dev Ittycheria - How an Early Pivot Catalyzed an Open Source Movement (Crucible Moments). Sequoia Capital · 2024 Podcast transcript
  14. MDB1 2025 Annual Report and Proxy Statement. MongoDB · 2025-04-28 Annual report