Ids and read-heavy redirects
URL shortener
- Create and redirect
- Ids without collisions
- A cache for 100 reads per write
- Count clicks later
- Final test
Build a short-link service on three small boxes. Create links, hand out ids that never collide, answer 20,000 redirects/s from a cache, and count every click without slowing the redirects.
Final testOne link goes viral: about 1M clicks per minute for 20 s. Your final board runs once more with a new traffic seed.
Stage 4 of 4 · 4 parts given · 40,200 requests/s
Progress on this page stays on this device.