search

Home  >  Q&A  >  body text

用redis做信息存储显示,数据库使用mysql

用redis做信息存储显示,数据库使用mysql,请问 多久提取数据更新至服务器好?

漂亮男人漂亮男人2816 days ago709

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-27 09:05:07

    Do you mean redis data is synchronized with mysql? This depends on the specific situation. Some data may need to be synchronized. Some data is not very important and can be placed in redis first, such as page views. Clicks. Often it is not particularly important and can be synchronized to the database and saved every night.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-27 09:05:07

    In fact, redis itself also has reliable persistence function

    As long as you make a backup, it is not a problem if it is not synchronized to mysql

    reply
    0
  • Cancelreply