search

Home  >  Q&A  >  body text

redis - 个性化推荐中'已读'和'未读'如何实现?

个性化推荐中,'已读'用redis或memcache缓存,是不是每增加一个用户,就得设置一个key?

某草草某草草2817 days ago991

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-04-26 09:04:12

    There must be a unique key to identify this user. You'd better add a prefix to match the user ID to distinguish each user. For example, if you have read, use the read link user ID to identify this user

    reply
    0
  • Cancelreply