xwsoul
V2EX  ›  Redis

诸如推特这样的关注后获取到被关注人内容的实现?

  •  
  •   xwsoul ·
    xwsoul · Jun 12, 2012 · 5842 views
    This topic created in 5089 days ago, the information mentioned may be changed or developed.
    谁能给个 Key 的设计思路啊?
    Redis官方给的简化的推是通过 foreach 实现对每个folloers的tl添加内容实现...
    那么问题是:
    1. 如果我的关注者有上万人,这个也向关注者的 TL 里一一添加么?
    2. 如果我的取消关注了该对象,自身的tl又该如何清理呢?
    求解
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3503 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 05:02 · PVG 13:02 · LAX 22:02 · JFK 01:02
    ♥ Do have faith in what you're doing.