Farhan.
Engineering Lab

Cache Lab

A fixed-capacity LRU cache in front of a database. Tune size, TTL, key popularity — watch it hit, miss, evict, expire.

LRU evictionTTL expirationcache hit/miss ratiodeterministic simulation

Cache (capacity 4) — MRU first

empty
empty
empty
empty

Hits

0

Misses

0

Evictions

0

Expirations

0

Hit rate

Before start

Press play, or step forward, to send the first request.