Making a Twitter-like timeline with MongoDB

前端 未结 3 1186
生来不讨喜
生来不讨喜 2020-12-29 13:16

What I need:

Suppose you\'re using MongoDB and you have a collection called users, and each user has a \"following\" array with user

3条回答
  •  囚心锁ツ
    2020-12-29 13:40

    Yea, I do the exact same thing. See what Dwight Merriman suggested on his blog.

    http://dmerr.tumblr.com/post/463694595/just-for-fun-a-single-server-twitter-design

提交回复
热议问题