Skip to content

ONE QUESTION. YOUR REASONING.

Design Instagram

Design Instagram: people upload photos, follow each other, and scroll a feed of photos from the people they follow.

System designSocial feed and timelineMid-levelSenior

YOUR BRIEF

What to work through

Work through instagram as a spoken system design interview. Start by clarifying the scope, sketch a working design and explain the trade-offs behind your choices.

  • Upload a photo with a caption
  • Follow other users
  • See a feed of photos from followed users, newest first
  • Open a photo at full size

BEFORE YOU START

Constraints to discuss

  • Read-heavy: far more feed views than uploads
  • Feed loads in under 500 ms
  • An uploaded photo is never lost
  • A new post may take up to 1 minute to reach followers’ feeds
Need a starting point?

Watch for these common gaps as you prepare:

  • Pushing photo bytes through the app servers
  • Storing photos in the database
  • Fanning out a post before its upload has finished
  • Writing a big creator’s post to millions of feeds from one host
Read: System design questions and who asks them

Why this question is in the collection

These sources connect the problem to company interview reports or preparation guides. They do not guarantee what a company will ask you.

KEEP GOING

Your next question

Storage, files and linksDesign BitlyInfrastructure and platformDesign a rate limiterInfrastructure and platformDesign an A/B testing platformInfrastructure and platformDesign an ad click aggregator
Browse the collection
01

Pick a question

Read the brief and choose what you want to work on.

02

Talk it through

Explain your thinking. Respond to follow-ups. Draw when a design needs it.

03

Find your next improvement

Use the feedback from your interview to decide what to practise next.