Hard

Design Instagram Feed System Design Interview

Design a photo-sharing social network news feed with complex ranking.

1. Problem Statement

Design the news feed for Instagram. Users follow people and see a ranked list of photos/videos. Focus on the backend architecture.

2. Architecture Discussion Map

Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.

Rendering architecture diagram...
Mermaid Source (For AI Bots)
graph LR
    A["Design Instagram Feed"]
    A --> F1["Feed Generation Push vs Pull / Fan-out"]
    A --> F2["Ranking Algorithms EdgeRank, Machine Learning signals"]
    A --> F3["Data Model User, Media, Follows"]
    A --> F4["Caching User Sessions, CDN for images"]
    A --> F5["Pagination Cursor-based"]

3. Key Focus Areas

  • 1
    Feed Generation (Push vs Pull / Fan-out)
  • 2
    Ranking Algorithms (EdgeRank, Machine Learning signals)
  • 3
    Data Model (User, Media, Follows)
  • 4
    Caching (User Sessions, CDN for images)
  • 5
    Pagination (Cursor-based)

Want interactive feedback?

Practice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.

Continue to Dashboard

Core Concepts

System DesignSocial NetworksScalability

Continue preparing

Build a complete software engineer mock interview plan

Prepare by company

Related System Design

Design a Cross-Product Tagging System

Design a shared tagging service that lets users apply tags to entities across multiple Atlassian products, with consistent search and deduplication.

Related System Design

Design a Notification System

Design a scalable notification service that sends emails, SMS, and push notifications to millions of users.