redis - 个性化推荐中'已读'和'未读'如何实现?
某草草
某草草 2017-04-26 09:02:12
0
1
906

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

某草草
某草草

reply all (1)
我想大声告诉你

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

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!