All challenges
Multiple ChoiceIntermediate 30s

Cache-aside pattern

Choose the best answer for: lazy loading cache
Options
  1. 1The app always reads the cache and never contacts the database at all
  2. 2The app never checks the cache and always loads directly from the DB
  3. 3App checks cache first; on miss, loads from DB and caches
  4. 4The app reads the database first, then overwrites the cache each time

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