The brief: a link shortener
Time to use everything at once, top-down as in HLD & LLD. The task: build a service like bit.ly. Paste a long URL, get a short one back — sho.rt/x7Kp2Qa — and anyone who opens it is redirected to the original.
Before drawing boxes, pin down what “works” means. It must: create a short link, and redirect. It should: expire links and count clicks. And the qualities that matter: redirects have to be fast and almost never fail — a dead shortener breaks every link ever shared — while creating a link may take a moment longer.
Key idea
Every design starts with the same three questions: what must it do, how much of it, and what matters most when you can’t have everything?