Design Instagram
Difficulty: MEDIUMCategory: HLDFrequency: 1Asked On 2025-01-17
Problem Statement
📸 3. Design Instagram
🧾 Design a photo and video sharing platform like Instagram, where users can upload media, follow others, view a feed, and interact via likes/comments. Functional Requirements:
•User sign-up/login.
•Upload photos/videos.
•View timeline/feed of posts from followed users.
•Like/comment on posts.
•Follow/unfollow users.
•Notifications (optional stretch).
Constraints:
•Must support millions of users and media uploads per day.
•Handle real-time feed generation.
•Scalable storage for images/videos (e.g., S3 or object store).
•Handle write-heavy (upload) and read-heavy (feed) traffic.