Back to course home
0% completed
Vote For New Content
Memory estimates for caching
kkjathal
Apr 25, 2024
We assume 20% of URLs are responsible for 80% of traffic. We need 15 TB to store all our URLs. So we need 20% of 15 TB to store 20% of all our URLS = 3 TB. What's wrong with this logic?
0
0
Comments
Comments
On this page
- Why do we need URL shortening?
Try it yourself
Designing URL Shortener (video)
- Requirements and Goals of the System
- Capacity Estimation and Constraints
- System Interface Definition
- Create Short URL API
- Redirect API
- Analytics API
- URL Management API
- Delete Short URL API
- Database Design
- Basic System Design and Algorithm
a. Encoding actual URL
b. Generating keys offline
- Data Partitioning and Replication
- Cache
- Load Balancer (LB)
- Purging or DB cleanup
- Telemetry
- Security and Permissions