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

  1. Instagram (1/7): requirements, scale estimation & architecture
  2. Instagram (2/7): the upload & media-processing pipeline
  3. Instagram (3/7): data model, IDs & the follow graph
  4. Instagram (4/7): home feed specifics — ranking, cursors, seen-state & ads
  5. Instagram (5/7): Stories — 24-hour TTL, tray ordering & viewer lists
  6. Instagram (6/7): Explore & hashtag search
  7. Instagram (7/7): likes, comments & notifications at celebrity scale; bottlenecks
  8. Food delivery (1/7): requirements, India-scale estimation & architecture
  9. Food delivery (2/7): restaurant discovery, serviceability & the menu catalog
  10. Food delivery (3/7): cart → order → payment without double charges
  11. Food delivery (4/7): the order lifecycle state machine & restaurant acceptance timeouts
  12. Food delivery (5/7): dispatch — just-in-time assignment, batching & offer/accept
  13. Food delivery (6/7): live tracking, ETA promises, delivery fees, cancellations & refunds
  14. Food delivery (7/7): failure handling at peak; bottlenecks & trade-offs across both designs
  15. Level bar: what mid, senior and staff answers include
  16. 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