Playground · Easy line · Station E1
URL shortener
Redirect 8,000 taps a second, create unique short codes, and survive any one machine crashing.
A cricket streaming app shares short links for every match highlight. During a big match, people tap those links 8,000 times a second and create about 100 new ones a second. Every tap must find the long link in a blink, and no two links may ever share a code.
- Link taps
- 8,000/s
- New links
- 100/s
- Budget
- $900/mo
- Speed
- under 80 ms
- Must
- Survive a crash
Reported in interviews at Google, Facebook, Amazon, Microsoft