Skip to content
StackDecode
System Design
20. System Design Case StudiesAnimated

Social Media Platform (Instagram)

Photo sharing with feeds and follows.

The idea

Upload to object storage, process, store metadata, and build follower feeds.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Mobile appAPI gatewayPost serviceObject storage …Feed serviceFeed cacheFan-out queue
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Upload: the photo goes to object storage and a CDN serves it.

step:
1/4
at:
Mobile app
1/16

The green dot is a request moving through the system.

Step by step

  1. 1Upload photo
  2. 2Store in object storage and CDN
  3. 3Save metadata
  4. 4Fan out to feeds

Where it is used

Feed and media design.

Watch out for

Celebrity accounts make fan-out expensive.

Related