DB-EnginesCrateDB bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MongoDB vs. Redis vs. RocksDB

System Properties Comparison MongoDB vs. Redis vs. RocksDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonRedis  Xexclude from comparisonRocksDB  Xexclude from comparison
DescriptionOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureIn-memory data structure store, used as database, cache and message broker infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.Embeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database modelDocument storeKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceKey-value store
Secondary database modelsSearch engine infointegrated Lucene index, currently in MongoDB Atlas only.Document store infowith Redis Modules
Graph DBMS infowith Redis Modules
Search engine infowith Redis Modules
Time Series DBMS infowith Redis Modules
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score443.48
Rank#5  Overall
#1  Document stores
Score150.05
Rank#8  Overall
#1  Key-value stores
Score2.96
Rank#96  Overall
#19  Key-value stores
Websitewww.mongodb.comredis.iorocksdb.org
Technical documentationdocs.mongodb.com/­manualredis.io/­documentationgithub.com/­facebook/­rocksdb/­wiki
DeveloperMongoDB, IncSalvatore Sanfilippo infoDevelopment sponsored by Redis LabsFacebook, Inc.
Initial release200920092013
Current release4.2.8, June 20206.0.5, June 20206.8.1, April 2020
License infoCommercial or Open SourceOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoBSD 3-Clause, commercial license availableOpen Source infoBSD
Cloud-based only infoOnly available as a cloud serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
MongoDB Atlas: Deploy a fully managed cloud database on-demand and ready for use in minutes. Available on AWS, Azure, and GCP.
Implementation languageC++CC++
Server operating systemsLinux
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.schema-freeschema-free
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialpartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesno
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nono
Secondary indexesyesyes infowith RediSearch moduleno
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Connector for BInono
APIs and other access methodsproprietary protocol using JSONproprietary protocol infoRESP - REdis Serialization ProtocolC++ API
Java API
Supported programming languagesActionscript infoinofficial driver
C
C#
C++
Clojure infoinofficial driver
ColdFusion infoinofficial driver
D infoinofficial driver
Dart infoinofficial driver
Delphi infoinofficial driver
Erlang
Go
Groovy infoinofficial driver
Haskell
Java
JavaScript
Lisp infoinofficial driver
Lua infoinofficial driver
MatLab infoinofficial driver
Perl
PHP
PowerShell infoinofficial driver
Prolog infoinofficial driver
Python
R infoinofficial driver
Ruby
Scala
Smalltalk infoinofficial driver
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
C++
Java
Server-side scripts infoStored proceduresJavaScriptLuano
Triggersyes infoin MongoDB Atlas onlynono
Partitioning methods infoMethods for storing different data on different nodesSharding infopartitioned by hashed, ranged, or zoned sharding keysShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-slave replicationMaster-slave replication infoChained replication is supported
Multi-master replication infowith Redis Enterprise Pack
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency
Strong eventual consistency with CRDTs
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possiblenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationOptimistic locking, atomic execution of commands blocks and scriptsyes
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyes infooptionalyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2yesyes
User concepts infoAccess controlAccess rights for users and rolesSimple password-based access control infoAccess control lists and SSL are available in the commercial versionno
More information provided by the system vendor
MongoDBRedisRocksDB
Specific characteristicsMongoDB is the leading modern, general purpose data platform, designed to unleash...
» more
Competitive advantagesThe MongoDB Data Platform can be used by developers building OLTP and analytical...
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics70 million downloads (growing at more than 30 thousand downloads per day). 15,000+...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Datadog: Visualize all your MongoDB metrics.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

DBHawk: Secure access to SQL, NoSQL and Cloud databases with an all-in-one solution.
» more

ScaleGrid: Deploy, monitor, backup and scale MongoDB in the cloud with the #1 Database-as-a-Service (DBaaS) platform.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Datadog: Monitor all Redis metrics: hit rates, clients, commands per second, and more.
» more

ScaleGrid: Fully managed Redis-as-a-Service in the cloud.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
MongoDBRedisRocksDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

show all

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Thousands of MongoDB databases ransacked, held for ransom
2 July 2020, We Live Security

Hacker ransoms 23k MongoDB databases and threatens to contact GDPR authorities
1 July 2020, ZDNet

MongoDB names relational database veteran as new CTO
29 June 2020, ZDNet

Senior/Staff Software Engineer, Atlas Data Lake - MongoDB
2 July 2020, Built In Austin

Attackers Ransom MongoDB Databases - Expert Commentary
3 July 2020, ISBuzz News

provided by Google News

Redis database creator Sanfilippo: Why I'm stepping down from the open-source project
2 July 2020, ZDNet

Redis 6: A high-speed database, cache, and message broker
21 June 2020, IDG Connect

Redis Labs Unveils New Open Source Project, RedisRaft
24 June 2020, Database Trends and Applications

ScaleGrid DigitalOcean Support for MySQL, PostgreSQL and Redis™ Now Available
9 June 2020, PRNewswire

In-Memory Database Market 2020 – 2027 Based on COVID-19 Impact Analysis, Top Players – Pivotal Software Inc., Voltdb Inc., Centrum Wiskunde & Informatica, Gridgain Systems Inc., Redis Labs, etc.
2 July 2020, 3rd Watch News

provided by Google News

AMD EPYC vs. Intel Xeon Cascadelake With Facebook's RocksDB Database
17 October 2019, Phoronix

Toshiba Memory America Optimizes RocksDB for SSDs
1 August 2019, Business Wire

Micron Announces An Open-Source Storage Engine Designed For SSDs, Persistent Memory
27 April 2020, Phoronix

Toshiba Memory America Highlights TRocksDB at SNIA's 2019 Storage Developer Conference
23 September 2019, Business Wire

Alluxio Bolsters Data Orchestration for Hybrid Cloud World
11 July 2019, Datanami

provided by Google News

Job opportunities

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Jr. Web Developer
Rabb Consulting, Remote

Full Stack Apprentice
Left Hook, Durham, NH

Web / Mobile Developer - React, React Native, NodeJS, MongoDB
Oak.Works, Savannah, GA

Software Engineer (IBM ODM)
Piper Companies, Philadelphia, PA

PostgreSQL Database Admin
AWeber, Philadelphia, PA

Software Engineer, Performance (Bellevue, WA) (Remote Eligible)
Okta, Bellevue, WA

Staff Software Engineer - Core Services
Lob, California

Software Engineer, Performance (Atlanta, GA) (Remote Eligible)
Okta, Atlanta, GA

Entry Level Java Developer
Quantum Technologies Inc., Falls Church, VA

Software Engineer, Real-Time Stream Processing Platform
Pinterest, San Francisco, CA

Digital - MarketData APIs
FactSet Research Systems, York, NY

Software Engineer
DataDog, Denver, CO

Remote MySQL Support Engineer South America Hours
Percona, Raleigh, NC

Software Engineer - SecDB Architecture
Goldman Sachs, New York, NY

jobs by Indeed




Share this page

Featured Products

Arangodb logo

One open-source engine for graph, document & search. Simplify your deployment
stack on Prem, in the cloud - Anywhere.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Present your product here