System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
12 write-ups
| Title | Difficulty |
|---|---|
| Design an Ad Click Aggregator Record a billion ad clicks a day, redirect users instantly, and give advertisers minute-level, near real-time reports that are accurate enough to bill on, even when one ad goes viral. | Hard |
| Design Top K / Trending Hashtags Find the top K hashtags, posts or products over sliding 10-minute, 1-hour and 24-hour windows, by location and category, with past trends, from a stream of a billion events a day. | Medium |
| Design a Driver Location Heatmap Turn 375k driver location pings per second into a live heatmap of distinct drivers per area over the last 20 minutes in 1-minute buckets, and feed the same counts to surge pricing. | Medium |
| Design a Price Alert System Track prices for 50M products and 10k stock tickers, keep price history, and match every change against 250M user thresholds so each alert fires once, on time. | Medium |
| Design a Real-Time Analytics Platform Build an Amplitude-style clickstream platform that ingests a million events a second from SDKs that go offline, updates dashboards within seconds and answers funnel and retention queries fast. | Hard |
| Design a Real-Time Fraud Detection System Score every card transaction for fraud within 100 ms using streaming window rules like "five countries in one minute", ML scores from a model API, and per-bank rules for many banks. | Hard |
| Design a Shipment Tracking System Track tens of millions of parcels a day through hubs, trucks and partner carriers, turning out-of-order scan events from many parties into a correct status, location history, ETA and notifications. | Medium |
| Design a Subscription Billing System Design billing for recurring subscriptions and pay-as-you-go usage, with exactly-once metering, proration, dunning, and a cost explorer whose estimates match the final invoice. | Medium |
| Design an A/B Testing Platform Run a thousand concurrent experiments: assign users consistently, log exposures, turn 50 billion events a day into per-variant metrics, and report results you can trust. | Hard |
| Design an Ad Serving System Choose and serve an ad in under 500 ms, mixing direct campaigns with real-time bids from outside buyers, while pacing budgets, counting impressions for billing and filling ad breaks in streaming video. | Hard |
| Design an IoT Platform Connect 10 million devices over MQTT, ingest a million sensor readings per second, roll them up for dashboards and alerts, and manage device config, commands and firmware. | Hard |
| Design Google Maps Serve map tiles at every zoom level, compute driving routes on a continent-sized road graph with live traffic, take Waze-style incident reports, and plan public transit trips. | Hard |