All challenges
Multiple ChoiceIntermediate 30s

Write-through cache

Choose the best answer for: write pattern
Options
  1. 1Write only to the database; the cache is filled on the next read miss
  2. 2Write only to the cache; the database is updated by a delayed batch
  3. 3Write to the cache and DB in separate steps; cache may be stale
  4. 4Write to cache and DB simultaneously; cache always fresh

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