Design a News Feed
The home timeline of Twitter, Instagram or Facebook: posts from people you follow, ranked, fresh, and fast for hundreds of millions of users.
9 questions on this site are reported in Snap software engineer interviews. Each has a full reference design (requirements, back-of-envelope numbers, components, user flows and deep dives with interviewer follow-ups). Each one can be walked through turn by turn and then sat as a mock. Patterns covered: fan-out, ranking, caching, social, media-pipeline, object-storage, counters, ttl, geo-sharding, recommendations, bloom-filters, match-detection, write-heavy, graph, sharding, in-memory, consistency, batch, auctions, budget-pacing, inverted-index, low-latency, short-video, prefetch, session-ranking, exploration, cdn, real-time, pub-sub, geospatial, privacy, random-walks, visual-search, deduplication, vector-search, image-serving, moderation, perceptual-hashing, review-queues, policy-engine, audit-log.
Run an AI mock Snap interview →One of these questions, run as a live round in that style, with a debrief at the end.
Attribution comes from public interview guides and candidate reports, not from Snap. It indicates where a question has been asked, nothing more.
The home timeline of Twitter, Instagram or Facebook: posts from people you follow, ranked, fresh, and fast for hundreds of millions of users.
Upload photos, publish posts and stories, and load a feed of them for 500 M daily users, with every image served from a CDN in milliseconds.
Show each person a deck of nearby profiles that fit both people’s preferences, never repeat one, take 2 billion swipes a day, and announce a match the instant two people like each other.
LinkedIn’s connections for 1 B members: invitations, follows, a 1st/2nd/3rd badge on 200 k profile views a second, and daily People You May Know.
Pick the best of 10 M active ads for 5 M requests a second in under 100 ms, within every campaign’s targeting, budget and frequency caps.
A full-screen feed of short videos for 1 B daily users, where the next clip starts instantly and every swipe reshapes what comes next.
Show each user which friends are within 5 miles, refreshed every 30 s, for 10 M concurrent users, without leaking anyone’s location.
Save images to boards, browse a personalised grid and search by picture: 100 M daily users, 5 B distinct images behind 100 B saves.
Catch spam, nudity, hate and illegal media in 4 billion daily posts and comments before they spread, with 15,000 reviewers for the hard cases.
60 minutes, product-shaped and tied to Snap features: messaging, photo and video sharing, notifications, feeds or friends on a live map.
Keeping everything forever by default. Much of what Snap handles is meant to expire, and candidates are advised that this changes the architecture, so design expiry and deletion in from the start.
From public interview guides and candidate reports, and Snap’s own interview guidance where it publishes any. Not endorsed by Snap. Formats change; treat it as a prior, not a promise.
Large-company loops run 45 to 60 minutes, expect numbers, and spend most of the time on deep dives. Walk through a question to see how a strong candidate paces the hour, sit the same question as a mock until you can produce the requirements, the estimates and the design without looking, then read the interview framework guide for how to structure the hour. The other questions on the site teach patterns that show up in Snap interviews under different names.
Questions reported in Snap system design interviews include News Feed, Instagram, Tinder, Social Graph, Ad Serving System, TikTok, Nearby Friends and Pinterest, among 9 in total. Between them they test fan out, ranking, caching, social, media pipeline and object storage. The reports come from public interview guides and candidate accounts, not from Snap, so practise the patterns rather than memorising one list.
60 minutes, product-shaped and tied to Snap features: messaging, photo and video sharing, notifications, feeds or friends on a live map.
Reports say the Snap round weighs 4 things. 1. Ephemeral data: expiry and deletion built into storage, not added afterwards. 2. Low latency for a mobile-first app, including real-time delivery. 3. Large photos and videos: storage, processing and delivery through a CDN. 4. A design tied back to the feature and what the user sees. Keeping everything forever by default. Much of what Snap handles is meant to expire, and candidates are advised that this changes the architecture, so design expiry and deletion in from the start.
Practise the questions reported there out loud, under a 45-minute clock: requirements with numbers first, then estimates, a high-level design, and deep dives into the two or three hardest parts. Start with News Feed: watch a strong candidate answer it turn by turn, then sit it yourself. Then cover the patterns the round leans on (fan out, ranking, caching and social) with one more question each.