Design
Facebook / Social Graph
Design Facebook — social graph, news feed ranking, groups, events, marketplace, and real-time notifications at 3-billion-user scale.
This is a Low-Level Design (LLD) problem. New to LLD vs HLD? Start here.
01 - Why interviewers ask this
It's the deepest social-graph problem in the catalog — interviewers use it to see if you distinguish storage, ranking, and privacy as three separate concerns at massive scale.
02 - Where this system exists in the real world
You interact with this design every day.
Facebook / large-scale social network platforms
Enterprise social/community platforms
Social graph analytics and ad-targeting systems
03 - What you'll master
Solve this once. Know it forever.
Model a massive-scale social graph efficiently
Design privacy-aware content visibility rules
Rank a personalized News Feed at scale
04 - What you'll design
7 functional · 4 non-functional requirements.
Friend/follow graph with mutual friend suggestions
6 more requirements inside
Sign in to unlock the full brief and start designing
05 - Companies that ask this
You may face this exact question in your next interview.
Ready?
Open the canvas.
Design it yourself.
See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.
More in Social Media