Back to course home
0% completed
Vote For New Content
Why should the amount of cache be estimated based on the total number of request...
MH
Jan 30, 2022
Why should the amount of cache be estimated based on the total number of requests per 24 hours? Why not the total requests per hour, 12 hours, a year, or simply all stored URLs?
2
0
Comments
Comments
Design Gurus4 years ago
Generally, since 24 hours is a repeating span of period, it is considered better but we could take any period of time like average hourly traffic etc. Hourly traffic varies a lot though like late night is generally slow for a lot of systems compared to morning or evenin...
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