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

CouchDB

402
431
+ 1
137
Redis

33.7K
24.1K
+ 1
3.8K
Add tool

CouchDB vs Redis: What are the differences?

Developers describe CouchDB as "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. On the other hand, Redis is detailed as "An in-memory database that persists on disk". Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

CouchDB can be classified as a tool in the "Databases" category, while Redis is grouped under "In-Memory Databases".

"JSON" is the top reason why over 42 developers like CouchDB, while over 842 developers mention "Performance" as the leading cause for choosing Redis.

CouchDB and Redis are both open source tools. Redis with 37.4K GitHub stars and 14.4K forks on GitHub appears to be more popular than CouchDB with 4.24K GitHub stars and 835 GitHub forks.

According to the StackShare community, Redis has a broader approval, being mentioned in 3264 company stacks & 1785 developers stacks; compared to CouchDB, which is listed in 61 company stacks and 32 developer stacks.

Decisions about CouchDB and Redis
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
Pros of CouchDB
Pros of Redis
  • 43
    JSON
  • 29
    Open source
  • 18
    Highly available
  • 12
    Partition tolerant
  • 11
    Eventual consistency
  • 7
    Sync
  • 4
    Attachments mechanism to docs
  • 4
    REST API
  • 4
    Multi master replication
  • 3
    Changes feed
  • 1
    REST interface
  • 1
    js- and erlang-views
  • 869
    Performance
  • 533
    Super fast
  • 508
    Ease of use
  • 440
    In-memory cache
  • 320
    Advanced key-value cache
  • 187
    Open source
  • 178
    Easy to deploy
  • 164
    Stable
  • 151
    Free
  • 120
    Fast
  • 39
    High-Performance
  • 37
    High Availability
  • 34
    Data Structures
  • 32
    Very Scalable
  • 23
    Replication
  • 20
    Great community
  • 19
    Pub/Sub
  • 17
    "NoSQL" key-value data store
  • 14
    Hashes
  • 12
    Sets
  • 10
    Sorted Sets
  • 9
    Lists
  • 8
    BSD licensed
  • 8
    NoSQL
  • 7
    Integrates super easy with Sidekiq for Rails background
  • 7
    Bitmaps
  • 7
    Async replication
  • 6
    Open Source
  • 6
    Keys with a limited time-to-live
  • 5
    Lua scripting
  • 5
    Strings
  • 4
    Hyperloglogs
  • 4
    Awesomeness for Free!
  • 3
    Transactions
  • 3
    Runs server side LUA
  • 3
    outstanding performance
  • 3
    Networked
  • 3
    LRU eviction of keys
  • 3
    Written in ANSI C
  • 3
    Feature Rich
  • 2
    Data structure server
  • 2
    Performance & ease of use
  • 1
    Object [key/value] size each 500 MB
  • 1
    Simple
  • 1
    Channels concept
  • 1
    Scalable
  • 1
    Temporarily kept on disk
  • 1
    Dont save data if no subscribers are found
  • 1
    Existing Laravel Integration
  • 1
    Automatic failover
  • 1
    Easy to use
  • 0
    Jk

Sign up to add or upvote prosMake informed product decisions

Cons of CouchDB
Cons of Redis
    Be the first to leave a con
    • 10
      Cannot query objects directly
    • 1
      No secondary indexes for non-numeric data types

    Sign up to add or upvote consMake informed product decisions

    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 Redis?

    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

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

    What companies use CouchDB?
    What companies use Redis?

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

    What tools integrate with CouchDB?
    What tools integrate with Redis?

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

    Blog Posts

    Nov 20 2019 at 3:38AM
    https://img.stackshare.io/stack/517248/default_4bf5f3d2d3ef627f563fd3b2e94dee6cc37a38d6.jpg logo

    OneSignal

    PostgreSQLRedisRuby+8
    7
    3568
    Jun 6 2019 at 5:11PM
    https://img.stackshare.io/stack/372376/default_573a26a621134fbcbde85e58b2c8544189ae0fba.jpg logo

    AppSignal

    RedisRubyRails+9
    15
    1024
    GitHubDockerReact+17
    31
    26582
    JavaScriptGitHubNode.js+29
    13
    10493
    What are some alternatives to CouchDB and Redis?
    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
    Interest over time
    News about CouchDB
    More news