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 دقيقة