Skip to content
Theory · Redis: Data Structures, TTL, Eviction · lesson 11 of 12

Eviction

The board at the counter has only so much room. One day there will be no space left on it, right when the barista brings a new note. The note can stay off the board. Or a note that nobody has looked at for a long time can come down. Or the one whose deadline is close anyway.

In this lesson

  • The memory limit
  • noeviction
  • Eviction policies
  • Approximate LRU
  • A cache is not a database
  • Common mistake
  • Key points