← Quiz: Design a URL Shortener: all 10 questions
Quiz: Design a URL Shortener · Question 6 of 10
Why does a URL shortener's read path benefit so much from a cache?
Why does a URL shortener's read path benefit so much from a cache?
- A.Short codes change every second
- B.Writes are far more common than reads
- C.A small share of popular links gets most of the clicks
- D.Caches store more data than databases
Answer & explanation
Correct answer: A small share of popular links gets most of the clicks
The 80/20 pattern means a modest cache serves most redirects.
Can you get the rest right without peeking?
Take the timed Quiz: Design a URL Shortener quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →