PrepCity

Cache eviction policies

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 9 pages · about 6 min

Cache eviction policies

A full cache must drop a key or refuse a new one; the run measures LRU, LFU, random and noeviction on the same traffic.

Words you’ll learn

  • API
  • PostgreSQL
  • Cache
  • Redis
  • Eviction
  • LRU
  • LFU
  • Requests a second
  • Database
  • Burst

Page by page