Practice: Design a Link-in-Bio Page
Link-in-bio service inspired by Linktree: each creator has a public page of links that is served from the edge, edits are saved to a database, and click analytics are counted in the background.
Build this system yourself on the canvas below. Add components, connect them, and run traffic simulations to see where your design holds up and where it breaks.
Functional requirements
- Show a creator's public page of links, loading fast for anyone who opens the profile link
- Let a creator add, reorder, edit and remove links and change the page's look
- Count clicks on each link and show the creator the totals
- Let a creator see how many people viewed their page over time
- Keep every creator's page and links durably
- Limit how often a page can be edited or hit by one client, to stop abuse
Non-functional requirements
- Page load < 100ms p99 for visitors, served from the CDN or page cache
- An edit is visible to visitors within 30 seconds
- Handle 10K page views per second at peak and 10 edits per second
- Click counts may lag by up to a minute, but no click is lost (counted through a queue)
- 99.99% availability for public pages, even if the editor is down
- Scale to 50M creators with pages that rarely change, so almost every view is a cache hit
- 99.99% durability for page and link data