系列练习
查看全部系列5 题Streams, metrics & aggregation
Ad Click Aggregator / Metric Monitoring and Alerting / Monitoring and Alerting
18 题AI platforms, agents & model systemsAI Agent System / Moderation Service / Recommendation System
9 题Realtime chat, sync & collaborationChat App / Chat Service / Collaborative Shopping
18 题Search, retrieval & rankingCoupons and Deals Platform / Facebook Post Search / Flight Booking System
15 题Payments, ledgers & idempotencyAd Click Aggregator / Coupons and Deals Platform / Donation Platform
21 题Inventory, reservations & queuesAuction (eBay) / Collaborative Shopping / Donation Platform
免费完整指南
11 题可立即阅读,无需账号。
01Ad Click AggregatorDesign an ad click aggregation system that ingests millions of click events per second and serves near-real-time plus historical aggregate metrics to advertisers.MetaStreaming Windowed AggregationIdempotency Key+1免费指南 02DropboxDesign Dropbox — a cloud file storage and synchronization service where users upload large files and keep them in sync across devices and shared folders.—Chunked Transfer + Content-Hash DedupConflict-Free Collaboration (OT/CRDT)+1免费指南 03Facebook MessengerDesign Facebook Messenger — a real-time chat system delivering messages with low latency, ordering guarantees, and multi-device sync at massive scale.MetaPersistent Connection ManagementPub/Sub Fan-out+1免费指南 04TicketmasterDesign Ticketmaster — an event ticketing system that sells reserved seats under extreme flash-sale contention without ever double-selling a seat.—Reservation Hold with TTLVirtual Queue / Admission Control+2免费指南 05TinderDesign Tinder — a location-based dating app with swipe feeds, mutual-match detection, and recommendation of nearby profiles.—Geospatial IndexingProbabilistic Data Structures+1免费指南 06Top K Songs (Spotify)Design Spotify's Top-K most-played songs feature — compute top charts over sliding time windows at listening-event scale.Spotify / MetaStreaming Windowed AggregationProbabilistic Data Structures+2免费指南 07Uber (Ride Hailing)Design Uber — a ride-hailing platform matching riders to nearby drivers in real time, with live location tracking, pricing, and trip lifecycle management.UberGeospatial IndexingOptimistic Concurrency Control+1免费指南 08Web CrawlerDesign a web-scale crawler that politely fetches and indexes billions of pages, deduplicates content, and keeps the corpus fresh.GoogleProbabilistic Data StructuresAsync Job Queue+2免费指南 09URL ShortenerDesign a scalable URL shortener for 100M daily active users.InstagramCache-Aside and Stampede ControlSharding and Hot-Key Mitigation免费指南 10LLM Inference GatewayDesign an LLM inference gateway that sits between internal product teams and multiple model providers/backends, handling routing, streaming, quotas, and safety controls at company scale.OpenAI / AnthropicMulti-Provider Routing / FailoverVirtual Queue / Admission Control+2免费指南 11AI Customer Support AgentDesign an AI customer support agent for a SaaS product.—Agentic Tool-Calling LoopRAG Grounding and Citation+2免费指南