Skip to content
TeachTrails
System DesignInterviews

Design Instagram: Photo Uploads, Feed and Stories at Scale

Design Instagram for a system design interview: direct uploads to object storage, image resizing, CDN delivery, sharded metadata, the home feed, likes and 24-hour stories.

Sudipta Biswas, AI Engineer

12 min read

Beginner friendly
DESIGN INSTAGRAMBytes to storage, metadata to the database, images from the CDN, posts into feeds.1Get upload URLpre-signed2Uploadto object storage3Processresize, strip GPS4Postmetadata + fan-out5Viewfrom the CDNInstagram, Pinterest, Flickr, Google Photos, any photo-sharing app

Checking your access…