Design case
Design it: a URL shortener
The interviewer says "Design a URL shortener." Pin down the scale, sketch the API and the data, walk a click through your design — then mint 10,000 unique short codes a second from 20 servers.
60 minMediumMembers case
Membership isn’t open yet. One kata or case is open to you now, 1 more with a free account.
Brush up first
- Interview & rubric
- Requirements and scope
- Back-of-the-envelope estimates
- API design
- Data model
- High-level design
- Relational databases & indexes
- Cache basics: hit ratio, TTL, eviction
- Cache-aside
- Cache stampede
- Horizontal scaling with a stateless tier
- Server capacity & scaling up
- Split app and database tiers
- Load balancer