Chapter 5
Core Interview Designs
Links, rate limits, search suggestions and crawling with the full eight-step framework.
Intermediate
19 min2Design an API Rate LimiterIntermediate
29 min3Design Typeahead (Search Autocomplete)Intermediate
25 min4Design a Web CrawlerIntermediate
26 minChapter quiz
Core Interview Designs · 6 questions
1.Why is the redirect path optimized with a cache rather than the write path?
2.With 30 billion total links, which key length is the best fit?
3.Why can't each gateway keep its own in-memory counter for a per-user limit?
4.What is the race condition in 'GET tokens, decide, then SET tokens'?
5.Why store the top-k suggestions on every trie node?
6.Why does the URL-seen check dominate the design more than the fetch rate does?
0 of 6 answered

