Need advice about which tool to choose?Ask the StackShare community!
CouchDB vs RethinkDB: What are the differences?
CouchDB: HTTP + JSON document database with Map Reduce views and peer-based replication. Apache CouchDB is a database that uses JSON for documents, JavaScript for MapReduce indexes, and regular HTTP for its API. CouchDB is a database that completely embraces the web. Store your data with JSON documents. Access your documents and query your indexes with your web browser, via HTTP. Index, combine, and transform your documents with JavaScript; RethinkDB: JSON. Scales to multiple machines with very little effort. Open source. RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.
CouchDB and RethinkDB belong to "Databases" category of the tech stack.
"JSON" is the top reason why over 42 developers like CouchDB, while over 46 developers mention "Powerful query language" as the leading cause for choosing RethinkDB.
CouchDB and RethinkDB are both open source tools. It seems that RethinkDB with 22.4K GitHub stars and 1.74K forks on GitHub has more adoption than CouchDB with 4.24K GitHub stars and 835 GitHub forks.
According to the StackShare community, CouchDB has a broader approval, being mentioned in 61 company stacks & 31 developers stacks; compared to RethinkDB, which is listed in 37 company stacks and 25 developer stacks.
I’m newbie I was developing a pouchdb and couchdb app cause if the sync. Lots of learning very little code available. I dropped the project cause it consumed my life. Yeats later I’m back into it. I researched other db and came across rethinkdb and mongo for the subscription features. With socketio I should be able to create and similar sync feature. Attempted to use mongo. I attempted to use rethink. Rethink for the win. Super clear l. I had it running in minutes on my local machine and I believe it’s supposed to scale easy. Mongo wasn’t as easy and there free online db is so slow what’s the point. Very easy to find mongo code examples and use rethink code in its place. I wish I went this route years ago. All that corporate google Amazon crap get bent. The reason they have so much power in the world is cause you guys are giving it to them.
So, we started using foundationDB for an OLAP system although the inbuilt tools for some core things like aggregation and filtering were negligible, with the high through put of the DB, we were able to handle it on the application. The system has been running pretty well for the past 6 months, although the data load isn’t very high yet, the performance is fairly promising
Our application data all goes in SQL. We will use something like Cosmos or Couch DB if one or both of these conditions are true: * We need to ingest a large amount of bulk data from a third party, and integrating it straight into an RDBMS with referential integrity checks would create a performance hit * We need to ingest a large amount of data that does not have a clearly defined, or consistent schema. In either case, we will have a process that migrates the data from Cosmos/Couch to SQL in a way that doesn't create a noticeable performance hit and ensures that we are not introducing bad data to the system. Because of this, there is a third condition that must be met: the data that is coming in must be something that the users will not need immediately, i.e. stock ticker information, real-time telemetry from other systems for performance/safety monitoring, etc.
We implemented our first large scale EPR application from naologic.com using CouchDB .
Very fast, replication works great, doesn't consume much RAM, queries are blazing fast but we found a problem: the queries were very hard to write, it took a long time to figure out the API, we had to go and write our own @nodejs library to make it work properly.
It lost most of its support. Since then, we migrated to Couchbase and the learning curve was steep but all worth it. Memcached indexing out of the box, full text search works great.
Pros of CouchDB
- JSON43
- Open source30
- Highly available18
- Partition tolerant12
- Eventual consistency11
- Sync7
- REST API5
- Attachments mechanism to docs4
- Multi master replication4
- Changes feed3
- REST interface1
- js- and erlang-views1
Pros of RethinkDB
- Powerful query language48
- Excellent dashboard46
- JSON42
- Distributed database41
- Open source38
- Reactive25
- Atomic updates16
- Joins15
- MVCC concurrency9
- Hadoop-style map/reduce9
- Geospatial support4
- Real-time, open-source, scalable4
- YC Company2
- A NoSQL DB with joins2
- Great Admin UI2
- Changefeeds: no polling needed to get updates2
- Fast, easily scalable, great customer support2