Redis and MongoDB difference (Interview good enough)

Redis and MongoDB difference (Interview good enough)

Recently thought Why MongoDB, to check what, summary Summary:
Before also used redis, was used to store some hot data, the amount is not large, but the operation is very frequent. The project is now using MongoDB, currently one million data, there would be ten million, one hundred million.
On Redis and MongoDB is concerned, we generally called a cache Redis, MongoDB database. This is the proper way rational evidence-based,
the Redis main data stored in memory, the "cache" properties much greater than its properties "data storage", where the additions and deletions to the data change search just as simple as the variable operation;
MongoDB but It is a "data storage" system, CRUD can add a lot of conditions, as flexible as SQL database, which is very popular during the interview with.

The comparison between Mongodb and Redis application

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/Gs4563985/article/details/91958014