6. Design a News Feed
Build a paginated feed that handles high-fan-out authors, fresh posts and visibility changes.
Pick a system. Work through the problem. Compare your approach.
Company tags are community-reported. Counts on cards show how many people reported that design.
Build a paginated feed that handles high-fan-out authors, fresh posts and visibility changes.
Run strangers' code safely in single-use microVMs, return verdicts within 5 seconds, and rank 100,000 contestants live.
Price a trip, match a rider to a nearby driver who has ten seconds to accept, and never give one driver two rides.
Photos and videos for 500 million daily users: presigned multipart uploads, a processing pipeline, CloudFront and a hybrid fan-out feed.
Search a billion posts a day by keyword, newest or most liked first, with an inverted index you build yourself.
Stacks of nearby people in under 300 ms, 2 billion swipes a day, and a match never missed even when both like at once.
Record runs and rides on the phone without signal, upload each once, show them to friends and rank athletes by week, month and year.
Sell 10,000 units to a million people at noon with a lottery waiting room, a Redis gate before an Aurora ledger and holds that expire.
Rank 200 million players in real time with sharded Redis sorted sets, count every game exactly once, and close a season fairly.