The Real Fullstack

系统设计

设计系统并施压测试:缓存、限流、分区与弹性。

9 个挑战

F31Design a URL ShortenerBillions of redirects, a few writes, unique short codes and click analytics — on a budget.架构构建器工程师12 分钟F32Design a Rate LimiterA “100 requests per minute” limit lets clients through eight times faster than intended.流程模拟器高级工程师10 分钟F33Design a Notification SystemMillions of e-mails and push messages — sent once, respecting preferences and provider limits.架构构建器高级工程师12 分钟F34The Cache StampedeEvery 60 seconds the homepage cache expires and 1,600 identical queries hit the database at once.流程模拟器高级工程师9 分钟F35The Hot PartitionOne mega-seller overloads a single partition while the other 11 sit idle.性能实验室高级工程师8 分钟F36The Unavailable ServiceA “nice to have” recommendations widget takes the whole homepage down.流程模拟器工程师9 分钟F71Design a File Upload ServiceUsers upload large files; they must be scanned, thumbnailed and downloaded quickly — without the API carrying the bytes.架构构建器工程师12 分钟F72The Midnight Thundering Herd1.2 million phones sync at exactly midnight, and their retries make it worse.性能实验室工程师8 分钟F86Design Search AutocompleteSuggestions on every keystroke for millions of users — without LIKE queries on the main database.架构构建器工程师12 分钟