System Design4+ YoE Level
URL Shortener Architecture
A comprehensive system design for a scalable URL shortening service capable of handling billions of requests with high availability and low latency.
100M+
Daily Active Users
1M+
URLs Created/Day
<10ms
Read Latency
99.99%
Availability
High-Level Architecture
Click on any component to see details
Functional Requirements
1
Generate unique short URL for any long URL2
Redirect to original URL when short URL accessed3
Custom alias support (optional)4
URL expiration time configuration5
Analytics: click count, location, timestamp6
User authentication for URL managementNon-Functional Requirements
1
High availability (99.99% uptime SLA)2
Low latency (<10ms for redirects)3
Scalable to billions of URLs4
Secure: prevent malicious URL creation5
Data consistency and durability6
Cost-effective storage and compute