Mock Interviewer

Ask Coach

Ask Coach
Clarify requirements before you design — kept separate from your stage notes.

Tap a question to start, or type your own below.

Instagram System Design

Visual Problem Diagram

Instagram System Design architecture diagram

Scenario

You tap play on an influencer's Reel that has hit 2 million views in an hour, expecting the video to start right away. The painful failure is when the video stutters, because every phone is pulling the file from one far-away store instead of a copy close to the viewer.

Stuck on where to start? Ask Coach

Clarify this problem here, or open Pathway Coach if you want a prep plan first.

Free Coach trial
How should I start prep?

You can upload a photo or a video. You can follow other people. You can scroll a home feed. You can like or comment. You can open a profile. You can post a story that disappears after a day.

You need to explain how an upload finishes on a flaky phone network and the video becomes sizes a phone can play. You need to explain how the home feed is built for people you follow, including a creator with a huge audience. You need to explain how the video comes from a copy near the viewer when a Reel is watched millions of times. You need to explain how a like is counted once when the tap is retried. You need to explain how a story disappears after a day while the main feed stays. The Explore tab and direct messages can stay thin.

Constraints

Functional

Upload a photo or a video. Follow people. Scroll a home feed. Like and comment. Open a profile. Post a story that lasts about a day.

Non-functional

Most feed loads finish in under 300 milliseconds, so the next posts appear quickly. The app stays up about 99.9% of the time. Uploaded photos and videos stay stored. Like counts can lag by a few seconds.

Scale

More than 1 billion users and about 500 million daily. Hundreds of millions of posts a day. The hot action is opening the feed and playing video. A Reel can take 2 million views in an hour, and those plays dominate the bytes leaving the network.

Stages ahead

1Requirement Analysis
2API Design
3High-Level Design
4HLD Extensions
5Trade-offs

Not ready to design yet?

Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.

Try Coach free

Log in to start practicing

Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.

Want full access now? View Pro pricing