expertReal System Design Problems

Design Meta's Social Graph Storage System — billions of relationships at query speed.

The graph-at-social-network-scale problem: how billions of friendships and follow relationships are stored and queried, how the graph is partitioned across machines without making common queries prohibitively expensive, and how operations like mutual-friends or second-degree-connections execute efficiently at this scale.

Ready to design this system end to end?

Generate a complete, structured system design answer — requirements, capacity estimation, API design, architecture, database choice, scaling, caching, fault tolerance, security, trade-offs, and more, walked through the way a strong senior engineer would in a real interview.

Sign in to generate a response

Next Step

Continue to What is the difference between Saga and Two-Phase Commit (2PC)? Why is Saga preferred in microservices?← Back to all System Design (HLD) questions