Instagram & Food Delivery (Swiggy / Zomato / DoorDash)
Two of the most-asked product designs, taken past the generic building blocks: Instagram's media pipeline, ranked feed, Stories, Explore and celebrity-scale engagement; and a three-sided food-delivery marketplace with serviceability, an idempotent order state machine, dispatch with batching, ETA promises, delivery fees and peak-hour failure handling.
About 170 minutes · 18 exam questions · 14 interview questions · 2 code labs
What you will learn
- Instagram (1/7): requirements, scale estimation & architecture
- Instagram (2/7): the upload & media-processing pipeline
- Instagram (3/7): data model, IDs & the follow graph
- Instagram (4/7): home feed specifics — ranking, cursors, seen-state & ads
- Instagram (5/7): Stories — 24-hour TTL, tray ordering & viewer lists
- Instagram (6/7): Explore & hashtag search
- Instagram (7/7): likes, comments & notifications at celebrity scale; bottlenecks
- Food delivery (1/7): requirements, India-scale estimation & architecture
- Food delivery (2/7): restaurant discovery, serviceability & the menu catalog
- Food delivery (3/7): cart → order → payment without double charges
- Food delivery (4/7): the order lifecycle state machine & restaurant acceptance timeouts
- Food delivery (5/7): dispatch — just-in-time assignment, batching & offer/accept
- Food delivery (6/7): live tracking, ETA promises, delivery fees, cancellations & refunds
- Food delivery (7/7): failure handling at peak; bottlenecks & trade-offs across both designs
- Level bar: what mid, senior and staff answers include
- Deep-dive ladders: bad → good → great
Previous: Platform, Fintech & AI: Robinhood-style Brokerage, CI/CD Runner (GitHub Actions), Online Chess Server, Calendar & Scheduling (Google Calendar / Calendly) & RAG Document Q&A · Next: AI Agents & LLM Apps: Agent Loops, Tools/MCP, Agentic RAG, Security, Evals & Troubleshooting