The bootcamp classes
Sign in with the account you enrolled with to watch your classes.
free previewClass 2: Designs 1 and 2: URL shortener and rate limiterfree: the first 3:00
Class 2 · The framework and estimation
Designs 1 and 2: URL shortener and rate limiter
1:29:06 · added 2026-11-14
What this class covers
- Two designs, the same five steps
- URL shortener: requirements and the questions that change it
- URL shortener: traffic, storage and how long the code must be
- URL shortener: the high-level design
- Deep dive: a counter or a hash, and the birthday surprise
- Deep dive: 301 or 302, tested in a real browser
- URL shortener: what breaks, follow-ups and drills
- Rate limiter: requirements and estimates
- Rate limiter: where it sits
- Deep dive: four ways to count requests
- Deep dive: one limit across many servers, and the race condition
- Rate limiter: what breaks, follow-ups and drills
- Knowledge check, what to keep and homework