Difference between Redis and Mongodb. Below is the comparative study between Redis and MongoDB.
| REDIS | MONGODB |
| Developed by Salvatore Sanfilippo. | Developed by MongoDB Inc. |
| Written in C. | Written in C++. |
| Redis is an in-memory data structure store. | MongoDB is a document oriented database server. |
| Subscription based and open-source database. | Free to use and open-source database. |
| Supports master-slave replication. | It also supports master-slave replication. |
| Follows key-value store model. | Follows document store model. |
| Ranked as world’s fastest database. | Considered as the next-generation database. |
| Eventually Consistent and Immediate Consistent. | Eventually Consistent. |
| Simple access using password. | Different access rights for users and roles. |