Scale and reliability 0/11

Lesson 9 of 11

Case study: URL shortener

Design a URL shortener from requirements and estimates to code generation, a cached redirect path and click counts kept off the request path.

2,239 words · 10 min read Ultra Premium Useful background: Unique IDs, High-level design method, Caching strategies

In this lesson

  1. The design question
  2. Requirements
  3. Estimates
  4. Size the system
  5. API
  6. Data model
  7. High-level design
  8. Follow both paths
  9. Generating codes
  10. Hot links and failures
  11. What stays true
  12. Tradeoffs
  13. Common mistakes
  14. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 11 premium lessons in Scale and reliability, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure