search

Home  >  Q&A  >  body text

redis - NoSQL使用问题

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

習慣沉默習慣沉默2769 days ago709

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-05-02 09:22:10

    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

    reply
    0
  • PHPz

    PHPz2017-05-02 09:22:10

    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.

    reply
    0
  • Cancelreply