redis - NoSQL使用问题
習慣沉默
習慣沉默 2017-05-02 09:20:10
0
2
704

查了很多资料,有点懵。
如果同时使用Mongodb和Redis会不会功能重复呢?
个人想法是Mongdb当数据库使用,然后Redis用来缓存Top10的热门数据和Session。
但是我看的资料说Mongodb也可以缓存这些。然后我就疑惑了。求指教。

習慣沉默
習慣沉默

reply all(2)
小葫芦

Mongdb is used as the database, and Redis is used to cache the Top 10 popular data and Session. It is right

Mongodb is used as a persistent database, and redis is used as a memory cache database

PHPzhong

It is recommended to refer to the stress level of your own system.
MongoDB itself has a strong ability to withstand pressure, so there is no need to add caching when it is not completely necessary, which can save a lot of development and operation and maintenance workload. It's not too late to add more when you really need it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template