System Design · Microsoft · Medium
Requirements Functional create(long_url, optional_expiry, optional_custom_alias) -> short_url redirect(short_url) -> 302 long_url Analytics may be supported, including total clicks and geographic statistics. An administrative interface may also be provided. Non-functional (one interviewer made this explicit) Support 1M create requests per day and 1B redirect requests per day, making reads roughly 1000 times more frequent than writes. The p99 response time for redirects must…
Checking your access…