xwsoul
V2EX  ›  Redis

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

  •  
  •   xwsoul ·
    xwsoul · Jun 12, 2012 · 5913 views
    This topic created in 5118 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   ·   5774 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 02:21 · PVG 10:21 · LAX 19:21 · JFK 22:21
    ♥ Do have faith in what you're doing.