HardDesign: Social Media Platform (Instagram)

How do you store the follower graph for 2 billion users with an average of 200 follows each?

Tests your understanding of this concept.

Answer Options

ASingle MySQL table with JOIN
BTwo Cassandra tables: following (follower_id → followees) and followers (followee_id → followers)
CNeo4j graph database
DRedis sorted sets for all edges

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Social Media Platform (Instagram) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Social Media Platform (Instagram) topic (System Design Cases).

More Design: Social Media Platform (Instagram) Questions