Best way to store Follower-Following relation like Twitter in MongoDb?

View other answers to this thread
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

Vishwa Bhat's photo

It completely depends on what and how you'd want to retrieve data from DB. Anyway, for your reference: Twitter Architecture