System Design · JPMorgan · Medium
Requirements Functional requirements: Generate a compact URL from a long URL. Resolve a short URL to its original destination with minimal latency. Permit either user-selected aliases or system-generated short codes, and define how collisions are handled. Provide a way to expire, deactivate, or modify links when product policy requires it. As an optional extension, record every click for analytics. Scale / constraints: Redirect traffic is expected to greatly exceed creation…
Checking your access…