Instagram Feed System Design

Visual Problem Diagram

Instagram Feed System Design architecture diagram

Scenario

Reels and photos share one home feed but media bytes dwarf text metadata—ranking must not block on transcoding, and a influencer post cannot fan out 50M mailbox writes. Media pipeline + hybrid feed is the Instagram-shaped interview.

Design Instagram-style home feed with photo/video posts, following graph, ranking, and optional stories. Media upload and CDN sit alongside social feed mechanics—both must be addressed.

You should support media post, feed read, explore/discovery hook, likes, and stories TTL. Be ready to explain upload pipeline and celebrity fan-out policy.

Constraints

Functional

Upload media post, following feed, explore tab, likes/comments, stories 24h, profiles

Non-functional

< 300 ms feed p95, media start < 2s, 99.9% availability, eventual counts OK briefly

Scale

1B users, 500M DAU, heavy CDN egress, viral posts millions of likes

Stages ahead

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