Need advice about which tool to choose?Ask the StackShare community!

CouchDB

470
541
+ 1
139
Realm

235
395
+ 1
16
Add tool

CouchDB vs Realm: 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; Realm: Realm makes it easy to build reactive apps, realtime collaborative features, and offline-first experiences. The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.

CouchDB can be classified as a tool in the "Databases" category, while Realm is grouped under "Mobile Database".

"JSON" is the top reason why over 41 developers like CouchDB, while over 4 developers mention "Good" as the leading cause for choosing Realm.

CouchDB and Realm are both open source tools. It seems that Realm with 13.3K GitHub stars and 1.71K forks on GitHub has more adoption than CouchDB with 4.22K GitHub stars and 833 GitHub forks.

BrightMachine, Third Iron, and SocialDecode are some of the popular companies that use CouchDB, whereas Realm is used by SocialCops, Patreon, and Wongnai. CouchDB has a broader approval, being mentioned in 60 company stacks & 30 developers stacks; compared to Realm, which is listed in 38 company stacks and 5 developer stacks.

Decisions about CouchDB and Realm
Gabriel Pa

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.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CouchDB
Pros of Realm
  • 43
    JSON
  • 30
    Open source
  • 18
    Highly available
  • 12
    Partition tolerant
  • 11
    Eventual consistency
  • 7
    Sync
  • 5
    REST API
  • 4
    Attachments mechanism to docs
  • 4
    Multi master replication
  • 3
    Changes feed
  • 1
    REST interface
  • 1
    js- and erlang-views
  • 7
    Good
  • 3
    Elegant API
  • 3
    Cloud Syncing
  • 2
    React Native Support
  • 1
    Strong Adoption Growth

Sign up to add or upvote prosMake informed product decisions

Cons of CouchDB
Cons of Realm
    Be the first to leave a con
    • 1
      No offline support for web till now

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is CouchDB?

    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.

    What is Realm?

    The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use CouchDB?
    What companies use Realm?
    See which teams inside your own company are using CouchDB or Realm.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with CouchDB?
    What tools integrate with Realm?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to CouchDB and Realm?
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    Couchbase
    Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is built on an open source foundation and architected to help developers solve real-world problems and meet high scalability demands.
    Cloudant
    Cloudant’s distributed database as a service (DBaaS) allows developers of fast-growing web and mobile apps to focus on building and improving their products, instead of worrying about scaling and managing databases on their own.
    MariaDB
    Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
    RethinkDB
    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.
    See all alternatives