Playground · Medium line · Station M6

Facebook News Feed

Serve 20,000 ranked feeds a second from a feed cache, with new posts spread to friends in the background.

Two billion people scroll their feed; your slice of the service sees 20,000 feed loads a second. Posts arrive 500 a second and each one is offered to friends' feeds, about 8 candidates per post. Feeds are ranked, so the order depends on what each person likes.

Feed loads
20,000/s
Feed updates
4,000/s
Post details
2,000/s
Budget
$2,500/mo
Speed
under 150 ms
Must
Survive a crash

Reported in interviews at Facebook