Step 1 of 13 ยท Intro
Design a link shortener
Billions of redirects, a few writes, and short codes that never collide.
How it works
- โบShorten: the server stores code โ long URL in a database.
- โบOpen: the server looks the code up and replies with a redirect.
What you'll build
- The API and the data behind it
- A system that answers 500 requests a second
- A cache, replicas and a load balancer for 50,000
- A rate limiter that stops a scraper
- A design that survives a cache restart, a lost server and a lost primary