Designing a URL shortener from requirements to scale
Part 0 of the shorty series: designing a URL shortener before writing code. Requirements, rough numbers, random base62 codes vs counters and hashes, 301 vs 302, caching hot links in Redis and counting clicks without slowing redirects.