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 URL
2
Redirect to original URL when short URL accessed
3
Custom alias support (optional)
4
URL expiration time configuration
5
Analytics: click count, location, timestamp
6
User authentication for URL management
Non-Functional Requirements
1
High availability (99.99% uptime SLA)
2
Low latency (<10ms for redirects)
3
Scalable to billions of URLs
4
Secure: prevent malicious URL creation
5
Data consistency and durability
6
Cost-effective storage and compute