GOAT EngineerPreparing your learning space…

System Design · Interactive workshop

The news feed interview lab

Build it. Run it. Follow the bytes.

The lab asks the questions this round is known for, in order: the requirements, the numbers and the API, a feed built when it is read, the same feed at 11,575 pages a second, and one account with 10 million followers, then paging, ranking and what must vanish from the next page. Each design step runs your design against measured bars: how fast pages load, how soon a post reaches its followers, and whether any page leaves a post out.

The canvas runs in your browser and needs JavaScript. You can read the model below and read the accompanying Library lesson without JavaScript.

What this machine models

The canvas simulates the request paths and the background work: a page built from storage costs one lookup per followed account, a fan-out worker copies a post into each follower's timeline in chunks, and a post counts as delivered once it lands where pages read it. You choose instance counts and settings; catalogue capacities decide the rest.

Paging, ranking, access checks and the line between copying and pulling are decisions rather than traffic, so those deep dives are written answers, three of them followed by a widget you can drive. Written answers are reviewed against an authored rubric that names what you covered and what you missed.

Sign in to enter the lab. Your answers, canvas and feedback save to your account after every step.

By GOAT Engineer. Explore System Design · Privacy Policy · Contact.