All challenges
Multiple ChoiceHard 45s

URL Shortener Hot Key Mitigation

A single short URL goes viral and overloads one storage node. What is the best mitigation?
Options
  1. 1Serve hot mappings from a distributed read cache and/or replicate the mapping so reads spread across nodes
  2. 2Reassign the hot key to a fresh random storage node on every single incoming read request for that mapping
  3. 3Increase the shortened key length substantially so that each read is spread over many more storage nodes
  4. 4Disable click analytics for that particular short key so the excess traffic stops reaching the storage node

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle