Multiple ChoiceHard 45s
Probabilistic early expiration
What does probabilistic early expiration (XFetch-style) do to combat cache stampedes?
Options
- 1It refreshes each key at fixed intervals regardless of access, keeping the value warm in anticipation of future reads
- 2It lets some requests recompute the value before the TTL expires, with probability rising as expiry nears
- 3It extends each key's TTL exponentially on every hit, so frequently read entries stay resident far longer than configured
- 4It keeps a bloom filter of recent misses so repeated lookups for an absent key are short-circuited before hitting 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.