All challenges
Multiple ChoiceBeginner 45s

Cache warming

Why do large services pre-warm caches before a big traffic event or after a cold start?
Options
  1. 1To reduce the cache's memory usage by loading only the entries that are requested first after start
  2. 2To increase the TTLs of the cached entries so that they stay valid for the whole traffic event
  3. 3To disable eviction entirely so that no cached entry is ever removed while the event is running
  4. 4So the hot working set is already resident, avoiding a cold-cache miss storm that could overwhelm the DB

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