Skip to content

Software architecture interview · Software Engineer

URL shortener (Bitly-like)

Level
Mid-level
Length
About 55 minutes
Format
A diagram canvas you draw on as you talk
  • ID generation
  • Caching
  • Read-heavy scaling
  • Data modeling

The problem

Design a URL shortening service like Bitly. Users paste a long URL and get back a short link; anyone who opens the short link is redirected to the original.

The rest of the problem, the interviewer's follow-ups and your report come with the practice interview.

How the interview runs

  1. Introductions and framing5 min
  2. Requirements clarification and scoping7 min
  3. Estimation, core entities and API6 min
  4. High-level design12 min
  5. Deep dives15 min
  6. Wrap-up5 min
  7. Their questions5 min

Our library of software architecture problems

Every software engineer interview