Software Alternatives & Reviews

MongoDB VS Redis

Compare MongoDB VS Redis and see what are their differences

MongoDB logo MongoDB

MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

Redis logo Redis

Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.
  • MongoDB Landing page
    Landing page //
    2023-10-21
  • Redis Landing page
    Landing page //
    2022-10-19

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

MongoDB videos

MySQL vs MongoDB

More videos:

  • Review - The Good and Bad of MongoDB
  • Review - what is mongoDB

Redis videos

What is Redis? | Why and When to use Redis? | Tech Primers

More videos:

  • Review - Improve your Redis developer experience with RedisInsight, Redis Labs
  • Review - Redis Labs "Why NoSQL is a Safe Bet"
  • Review - Redis Enterprise Overview with Yiftach Shoolman - Redis Labs
  • Review - Redis system design | Distributed cache System design
  • Review - What is Redis and What Does It Do?
  • Review - Redis Sorted Sets Explained

Category Popularity

0-100% (relative to MongoDB and Redis)
Databases
46 46%
54% 54
NoSQL Databases
44 44%
56% 56
Relational Databases
100 100%
0% 0
Key-Value Database
0 0%
100% 100

User comments

Share your experience with using MongoDB and Redis. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare MongoDB and Redis

MongoDB Reviews

Announcing FerretDB 1.0 GA - a truly Open Source MongoDB alternative
MongoDB is no longer open source. We want to bring MongoDB database workloads back to its open source roots. We are enabling PostgreSQL and other database backends to run MongoDB workloads, retaining the opportunities provided by the existing ecosystem around MongoDB.
16 Top Big Data Analytics Tools You Should Know About
The database added a new feature to its list of attributes called MongoDB Atlas. It is a global cloud database technology that allows to deploy a fully managed MongoDB across AWS, Google Cloud, and Azure with its built-in automation for resource, workload optimization and to reduce the time required to handle the database.
9 Best MongoDB alternatives in 2019
MongoDB is an open source NoSQL DBMS which uses a document-oriented database model. It supports various forms of data. However, in MongoDB data consumption is high due to de-normalization.
Source: www.guru99.com
20+ MongoDB Alternatives You Should Know About
If you’re not ready for a major migration effort, there is one more solution for you – Percona Server for MongoDB. Based on MongoDB Community, and enhanced by Percona with Enterprise Features, Percona Server for MongoDB offers 100% compatibility. As we wrote in a previous post, we commit to shipping a supported AGPL version until the situation around SSPL is clearly resolved.
Source: www.percona.com

Redis Reviews

Are Free, Open-Source Message Queues Right For You?
A notable challenge with Redis Streams is that it doesn't natively support distributed, horizontal scaling. Also, while Redis is famous for its speed and simplicity, managing and scaling a Redis installation may be complex for some users, particularly for persistent data workloads.
Source: blog.iron.io
Redis vs. KeyDB vs. Dragonfly vs. Skytable | Hacker News
1. Redis: I'll start with Redis which I'd like to call the "original" key/value store (after memcached) because it is the oldest and most widely used of all. Being a long-time follower of Redis, I do know it's single-threaded (and uses io-threads since 6.0) and hence it achieves lesser throughput than the other stores listed above which are multi-threaded, at least to some...
Memcached vs Redis - More Different Than You Would Expect
Remember when I wrote about how Redis was using malloc to assign memory? I lied. While Redis did use malloc at some point, these days Redis actually uses jemalloc. The reason for this is that jemalloc, while having lower peak performance has lower memory fragmentation helping to solve the framented memory issues that Redis experiences.
Top 15 Kafka Alternatives Popular In 2021
Redis is a known, open-source, in-memory data structure store that offers different data structures like lists, strings, hashes, sets, bitmaps, streams, geospatial indexes, etc. It is best utilized as a cache, memory broker, and cache. It has optional durability and inbuilt replication potential. It offers a great deal of availability through Redis Sentinel and Redis Cluster.
Comparing the new Redis6 multithreaded I/O to Elasticache & KeyDB
So there are 3 offerings by 3 companies, all compatible with eachother and based off open source Redis: Elasticache is offered as an optimized service offering of Redis; RedisLabs and Redis providing a core product and monetized offering, and KeyDB which remains a fast cutting edge (open source) superset of Redis. This blog looks specifically at performance, however there is...
Source: docs.keydb.dev

Social recommendations and mentions

Based on our record, Redis seems to be a lot more popular than MongoDB. While we know about 183 links to Redis, we've tracked only 15 mentions of MongoDB. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

MongoDB mentions (15)

  • DocumentDB Elastic Cluster Pricing
    Does anyone know if the most basic Elastic Cluster instance of DocumentDB carries any monthly fixed cost or is it just on-demand cost? Another words if I run like 10,000 queries against the DB per month, what kind of bill would I expect? This is for a super small app. I am currently using mongodb free tier , but want to migrate everything to AWS. Can't seem to find a straight answer to the pricing question. Source: over 1 year ago
  • I wrote some scripts for converting the UTZOO Usenet archive to a Mongo Database
    You can use either MongoDB.com's dashboard (if you host a remote database) or Mongo Compass to run queries on the data or you can modify the express middleware with your own queries. I'm still working on the API, so it's not very robust yet. I will update this when it is. Source: over 1 year ago
  • Is the internet off in Russia ?
    Mongodb.com and many other services that don't work with russians anymore. Source: over 1 year ago
  • Unable to POST, Strange HTTP Response
    If I go to mongodb.com, I can see that no data has been posted to the database. However, the logs DO show that my requests have been received. Source: over 1 year ago
  • MongoDB, Inc. gives your information to other companies
    I recently made an account on mongodb.com, and soon after, I saw checked my Facebook advertisement settings and saw that MongoDB was targeting me through "uploaded a list to target you". Very likely they sell or use your information on/to other platforms and companies too. Source: over 1 year ago
View more

Redis mentions (183)

  • Redis is not "open core" (2021)
    The page 404s for me currently and it does not seem to be archived by the wayback machine either: https://web.archive.org/web/20240000000000*/https://redis.io/news/121. - Source: Hacker News / 15 days ago
  • Software Engineering Workflow
    Redis - real time data storage with different data structures in a cache. - Source: dev.to / 16 days ago
  • Redis License Changed
    Redis.io no longer mentions open source. They have still not changed meta description on their page. It still says it is open source ^^ view-source:https://redis.io/. - Source: Hacker News / about 1 month ago
  • Tutorial: Install Redis in Distro Linux: Pop!_OS
    Follow the steps below to install Redis:. - Source: dev.to / about 2 months ago
  • How to choose the right type of database
    Redis: An open-source, in-memory data structure store supporting various data types. It offers persistence, replication, and clustering, making it ideal for more complex caching requirements and session storage. - Source: dev.to / about 2 months ago
View more

What are some alternatives?

When comparing MongoDB and Redis, you can also consider the following products

PostgreSQL - PostgreSQL is a powerful, open source object-relational database system.

ArangoDB - A distributed open-source database with a flexible data model for documents, graphs, and key-values.

MySQL - The world's most popular open source database

Apache Cassandra - The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance.

neo4j - Meet Neo4j: The graph database platform powering today's mission-critical enterprise applications, including artificial intelligence, fraud detection and recommendations.

SQLite - SQLite Home Page