System design interview questions
Practice system design interview questions. Each one is a structured walkthrough: requirements, data model, API, a high-level diagram, and deep-dive trade-offs.
6 questions
Design a URL Shortener
Design a service like TinyURL or Bitly that turns long URLs into short, unique aliases and redirects users back to the original.
Design a Rate Limiter
Design a rate limiter that caps how many requests a client can make in a time window, with token bucket and sliding window strategies.
Design Pastebin
Design a service that lets users store and share text snippets with shareable links, expiration, and read-heavy access patterns.
Design Twitter
Design a social feed that supports posting tweets, following users, and building a low-latency home timeline at scale.
Design a Chat App (WhatsApp)
Design a real-time chat app like WhatsApp: WebSocket gateways, presence, per-chat message ordering, delivery receipts, and delivering to phones that are offline.
Design a Web Crawler
Design a web crawler that fetches a billion pages a month: a URL frontier with per-host politeness, robots.txt, URL and content dedup, distributed fetchers, spider traps, and recrawl scheduling.