When should MongoDB be used?
This article seriously mentions the difficulties encountered in using MongoDB and the reasons for eventually abandoning MongoDB.
I spent a lot of time reading the review, but I have not carefully read the comments. If I am not busy one day, I can analyze the information.
Here is a brief list of the author's points:
1. the document of MongoDB is suitable for storing self-contained data and is not suitable for Join scenarios between documents. In this scenario, RDBMS + Cache is the most effective, with no redundant data, it can also improve the query performance of the program by automatically updating the cache through background applications, avoiding the query inefficiency caused by multi-table join.
2. the accelerated query method is to put the active stream data into a document for search. mongodb is a method, and the cache mentioned above is also a similar method.
3. Social Data is essentially graphic, but relational databases can still be effectively stored. Therefore, the RDBMS + Cache method is also good.