Question bank

No. 15 · Feeds & social graphs

Design a ranked news feed

Advanced50 minRanking · Fan-out · Caching · Security · Data modeling · Estimation

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough reading

At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.

  1. FB News Feed

    Hello Interview · Stefan MaiArticleFull walkthroughFreeVetted

    Free end-to-end breakdown: entities and API, follow graph storage, fan-out with a hybrid feed for heavy posters, cursor paging, and a redundant cache for viral posts. The best single read here.

    Link checked 2026-12-06

  2. 2: Instagram + Twitter + Facebook + Reddit | Systems Design Interview Questions With Ex-Google SWE

    Jordan has no life (YouTube)VideoPartialFreeVetted

    Second opinion on the same design with more emphasis on keeping derived feed tables consistent through change-data-capture, and a separate read path for posts from very popular accounts. Little on ranking.

    Link checked 2026-12-06

  3. TAO: Facebook's Distributed Data Store for the Social Graph

    USENIX ATC 2013 · Nathan Bronson et al.PaperPaperFreeVetted

    How Facebook stores and caches the social graph (objects and associations) behind feed reads. Primary source for the graph layer; it does not explain feed assembly or ranking.

    Link checked 2026-12-06

  4. How machine learning powers Facebook's News Feed ranking algorithm

    Engineering at Meta · Akos Lada, Meihong Wang, Tak YanEngineering blogBackgroundFreeVetted

    Meta's own description of scoring candidate stories with many predicted signals and combining them into a rank. Good background if the interviewer moves from delivery to ranking; no infrastructure detail.

    Link checked 2026-12-06

  5. Serving Facebook Multifeed: Efficiency, performance gains through redesign

    Engineering at Meta · Yufei ZhuEngineering blogBackgroundFreeVetted

    Mostly a hardware-efficiency story, but it confirms the real feed backend splits into an aggregator that queries and ranks and leaf servers that hold recent activity in memory.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 1 of 1 links from the audited catalog kept

Every recommended link was kept.

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Candidate reports

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions