Design an Instagram-like photo-sharing platform
MetaSoftware Engineer · OnsiteLast updated
This question evaluates system design competencies including distributed systems, scalability and capacity planning, data modeling and storage strategies, API design, media processing and CDN integration, consistency models, operational reliability, observability, and estimation.
Design an Instagram-like photo and short-video sharing platform. Specify functional requirements (post, follow, like, comment, feed, notifications), non-functional goals (availability, latency, scalability, consistency), APIs, data model and storage choices, media handling and CDN strategy, feed generation/ranking pipeline, timeline consistency model, caching and search, sharding/partitioning and replication, background jobs (fan-out, media processing), rate limiting and abuse prevention, privacy/permissions, observability, disaster recovery, and cost/capacity estimates. Provide back-of-the-envelope calculations for expected QPS, storage, and bandwidth.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.