All Questions
Caching easy

What is the difference between Cache Eviction and Cache Expiration?

  1. A They are fundamentally identical terms that describe the same underlying mechanism for data removal.
  2. B Expiration is time-based (TTL); Eviction is space-based (removing items to make room when the cache is full).
  3. C Eviction is a voluntary action initiated by the client; Expiration is a mandatory action forced by the server.
  4. D Expiration removes the data from RAM permanently; Eviction merely swaps the data out to a slower disk-based store.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions