题库
70 题
系列练习
查看全部系列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 题可立即阅读,无需账号。
01广告点击聚合系统设计广告点击聚合系统。请覆盖High-throughput ingestion of K-M clicks/sec via a log/stream (Kafka) before aggregation, Exactly-once vs at-least-once delivery and idempotent aggregation sinks, Windowed aggregation...MetaStreaming Windowed AggregationIdempotency Key+1免费指南 02文件同步系统设计文件同步系统。请覆盖File chunking strategy and content-hash based deduplication across users, Delta sync: rsync-style block diffing instead of re-uploading whole files, Metadata service (file tree, versions)...DropboxChunked Transfer + Content-Hash DedupConflict-Free Collaboration (OT/CRDT)+1免费指南 03即时通讯系统设计即时通讯系统。请覆盖WebSocket connection management at scale: a connection registry mapping user/device to the gateway instance holding their socket, Message delivery semantics: at-least-once delivery with...MetaPersistent Connection ManagementPub/Sub Fan-out+1免费指南 04票务系统设计票务系统。请覆盖Seat inventory model and seat-map representation for a venue/event, including seat status transitions, Reservation hold with TTL: reserve then confirm two-phase flow, and auto-release when...TicketmasterReservation Hold with TTLVirtual Queue / Admission Control+2免费指南 05Tinder设计Tinder。请覆盖Swipe ingestion as a high-volume, append-only event write path (like/pass events) decoupled from match detection, Match detection: checking whether A likes B AND B likes A, where that...—Geospatial IndexingProbabilistic Data Structures+1免费指南 06Top K Songs (Spotify)设计Top K Songs (Spotify)。请覆盖Framing top-K as a heavy-hitters/frequency-estimation problem over a play-count stream, Count-Min Sketch + heap (bounded error, memory trade-off) vs exact per-partition...Spotify / MetaStreaming Windowed AggregationProbabilistic Data Structures+2免费指南 07Uber (Ride Hailing)设计Uber (Ride Hailing)。请覆盖Geospatial indexing trade-off: geohash vs quadtree vs S2/H3 cells for storing and querying driver locations, High-frequency driver location ingestion: update interval vs GPS...UberGeospatial IndexingOptimistic Concurrency Control+1免费指南 08网页爬虫设计网页爬虫。请覆盖URL frontier design: priority queues for scheduling and re-crawl ordering, Politeness: robots.txt compliance and per-domain rate limiting to avoid hammering one host, JavaScript rendering...GoogleProbabilistic Data StructuresAsync Job Queue+2免费指南 09短链接服务为 1 亿日活跃用户设计一套可扩展的短网址服务。涵盖重定向、自定义别名、点击分析、缓存,以及一致性权衡。InstagramCache-Aside and Stampede ControlSharding and Hot-Key Mitigation免费指南 10LLM 推理网关设计一套 LLM inference gateway,位于内部产品团队与多家模型供应商/后端之间,在公司规模下处理路由、流式、配额与安全管控。OpenAI / AnthropicMulti-Provider Routing / FailoverVirtual Queue / Admission Control+2免费指南 11AI 客服 Agent为一个 SaaS 产品设计一套 AI 客服 agent。涵盖意图路由、知识检索、账户安全的工具操作、对话记忆、基于置信度的人工升级、支持工单交接、评测套件、隐私管控,以及运营监控。—Agentic Tool-Calling LoopRAG Grounding and Citation+2免费指南